In my sample application, the XamGrid child row indents as expected. This is not the case for the real WPF application.
How can I decrease or increase the indentation?
Thank you,
Michael
Update: This was solved by setting the Margin of the first column in the Child Band.
<ig:ColumnLayout Key="ActiveOrders" HeaderVisibility="Hidden"> <ig:ColumnLayout.Columns> <ig:TextColumn Key="OrderID" HeaderText="Order ID"> <ig:TextColumn.CellStyle> <Style TargetType="{x:Type ig:CellControl}" BasedOn="{StaticResource {x:Type ig:CellControl}}"> <Setter Property="Margin" Value="20 0 0 0" /> </Style> </ig:TextColumn.CellStyle>
Hello mdperini,
Thank you for your post(s).
I am glad that you were able to find a solution to this issue that you were having. However, an alternate, and perhaps simpler approach to this is to use the Indentation property that exists on the ColumnLayout that contains your columns. This will indent the columns in that particular column layout by the value that you provide.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate Developer