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
Thank you very Andrew for the response, your solution is the better. :-)
Note: I noticed that the child row does not scroll like the parent row. Ideally we want the same behavior as the parent (visible columns, column attributes, etc.). I will explore further and start a separate thread on this.
<ig:ColumnLayout Key="ActiveOrders" HeaderVisibility="Hidden" Indentation="60"> <ig:ColumnLayout.Columns> <ig:TextColumn Key="PipsRange" HeaderText="Proximity Level" IsSorted="Ascending" ValueConverter="{StaticResource PipRangeCnv}" IsHideable="False" HorizontalContentAlignment="Left" /> </ig:ColumnLayout.Columns> </ig:ColumnLayout>
-Michael
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
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>