LayoutViewField.Column Property
Returns the column corresponding to the current LayoutViewField object.
Namespace: DevExpress.XtraGrid.Views.Layout
Assembly: DevExpress.XtraGrid.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Property Value
Type | Description |
---|---|
LayoutViewColumn | A LayoutViewColumn object corresponding to the current field. |
Remarks
Use this property to access the column that corresponds to the current field. The column’s specific properties are synchronized with the field’s settings. For instance, changing the column’s caption via the GridColumn.Caption property automatically modifies the field’s LayoutViewField.Text property and consequently updates the field’s display text.
To access the field object corresponding to a specific column object, see the LayoutViewColumn.LayoutViewField property.