Version

FieldLayoutSettings Property

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

FieldLayoutSettings objects are exposed via the following 2 properties:

Example
The following example demonstrates how to initialize settings for the FieldLayoutSettings of the DataPresenterBase.This provides default values for the settings of all field layouts within the control. This can then be overriden for specified FieldLayout instances using its Settings property.
<igDP:XamDataGrid DataSource="{Binding Source={StaticResource EmployeesDataSource}}">
    
<igDP:XamDataGrid.FieldLayoutSettings>
        
<igDP:FieldLayoutSettings AllowAddNew="True" AddNewRecordLocation="OnTopFixed" />
    
</igDP:XamDataGrid.FieldLayoutSettings>
</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