Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
640
XamGrid Child Row Indentation - What style is controlling the indentation?
posted

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

Parents
No Data
Reply
  • 640
    Offline posted

    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>

Children