Version

FieldLayoutSettings Class

Used in a DataPresenterBase derived control to specify settings to apply to one or more FieldLayouts.
Syntax
'Declaration
 
Public Class FieldLayoutSettings 
   Inherits Infragistics.DependencyObjectNotifier
public class FieldLayoutSettings : Infragistics.DependencyObjectNotifier 
Remarks

This settings object is exposed via the following 2 properties:

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

Refer to the Field Layout topic in the Developer's Guide for an explanation of the FieldLayout 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 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