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
665
record and label padding
posted

I am trying to compact the data presented by xamdatagrid. I have gotten the field labels smaller but cannot get rid of the spacing between them and the rows when using multiple columns.

 

I have tried these styles:

 <igDP:XamDataGrid.Resources>
                <Style TargetType="{x:Type igDP:LabelPresenter}"  >
                    <Setter Property="Padding"  Value="2,0,2,0" />
                    <Setter Property="Margin"  Value="2,0,2,0" />
                </Style>
                <Style TargetType="{x:Type igDP:HeaderPresenter}"  >
                    <Setter Property="Padding"  Value="2,0,2,0" />
                    <Setter Property="Margin"  Value="2,0,2,0" />
                </Style>
               
                <Style TargetType="{x:Type igEditors:XamNumericEditor}">
                    <Setter Property="Padding" Value="0"/>
                    <Setter Property="Margin" Value="0"/>
                </Style>
                <Style TargetType="{x:Type igEditors:XamTextEditor}">
                    <Setter Property="Padding" Value="0"/>
                    <Setter Property="Margin" Value="0"/>
                </Style>
                <Style TargetType="{x:Type igEditors:XamMaskedEditor}">
                    <Setter Property="Padding" Value="0"/>
                    <Setter Property="Margin" Value="0"/>
                </Style>
                <Style TargetType="{x:Type igEditors:XamCurrencyEditor}">
                    <Setter Property="Padding" Value="0"/>
                    <Setter Property="Margin" Value="0"/>
                </Style>
                <Style TargetType="{x:Type igDP:CellValuePresenter}">
                    <Setter Property="Padding" Value="0"/>
                    <Setter Property="Margin" Value="0"/>
                </Style>
                <Style TargetType="{x:Type igDP:DataRecordCellArea}">
                    <Setter Property="Padding" Value="0"/>
                    <Setter Property="Margin" Value="0"/>
                </Style>

              
            </igDP:XamDataGrid.Resources>

 

Attached is a jpg of the window...

 

Any ideas would be GREATLY appreciated!