Version

Specifying Settings for FieldLayouts

The FieldLayoutSettings object is used to specify settings that apply to one or more FieldLayouts, as described below. This object is exposed by the following two properties:

FieldLayoutSettings Property

Settings specified for this property become the default for all FieldLayouts in the FieldLayouts collection.

<igDP:XamDataGrid>
        <igDP:XamDataGrid.FieldLayoutSettings>
                <igDP:FieldLayoutSettings
                  HighlightAlternateRecords="True"/>
        </igDP:XamDataGrid.FieldLayoutSettings>
</igDP:XamDataGrid>

Settings Property

Settings specified for this property apply only to the specific FieldLayout.

<igDP:XamDataGrid>
        <igDP:XamDataGrid.FieldLayouts>
                <igDP:FieldLayout>
                        <igDP:FieldLayout.Settings>
                                <igDP:FieldLayoutSettings
                                  AutoGenerateFields="False"/>
                        </igDP:FieldLayout.Settings>
                </igDP:FieldLayout>
        </igDP:XamDataGrid.FieldLayouts>
</igDP:XamDataGrid>