Version

FieldSettings Property (DataPresenterBase)

Holds the default settings for all fields in this control.
Syntax
'Declaration
 
Public Property FieldSettings As FieldSettings
public FieldSettings FieldSettings {get; set;}
Remarks

FieldSettings are exposed via the following 3 properties:

Refer to the Fields topic in the Developer's Guide for an explanation of fields.

Refer to the Field Settings topic in the Developer's Guide for an explanation of the FieldSettings object.

Refer to the Theory of Operation topic in the Developer's Guide for an explanation of how this object is used.

Example
The following example demonstrates how to initialize settings for the FieldSettings of the DataPresenterBase. This provides default values for the settings of all fields within the control. This can then be overriden using the FieldSettings of the FieldLayout for all fields within the FieldLayout or on the Settings property of the Field.
<igDP:XamDataGrid BindToSampleData="True">
    
<igDP:XamDataGrid.FieldSettings>
        
<igDP:FieldSettings
                
AllowResize="False" 
                
CellWidth="200" />
    
</igDP:XamDataGrid.FieldSettings>
</igDP:XamDataGrid>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also