Skip to main content

LayoutViewField.Column Property

Returns the column corresponding to the current LayoutViewField object.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public LayoutViewColumn Column { get; }

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.

See Also