SfDataGridBehaviorGetFieldSettingsFromGridColumns Method

Gets a list of field settings from the columns of the indicated SfDataGrid control.

Definition

Namespace: Aliquo.Windows.Controls
Assembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
C#
public static List<FieldSetting> GetFieldSettingsFromGridColumns(
	SfDataGrid grid,
	bool onlyVisible = false,
	bool onlySettable = false
)

Parameters

grid  SfDataGrid
SfDataGrid with the SfDataGrid.
onlyVisible  Boolean  (Optional)
Indicates to include only visible fields.
onlySettable  Boolean  (Optional)
Indicates to include only configurable fields NotSettableFieldProperty.

Return Value

ListFieldSetting
List<FieldSetting> with the visible field settings for the specified SfDataGrid control.

See Also