Back to Devexpress

LayoutViewField.Column Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewfield-113844c3.md

latest2.2 KB
Original Source

LayoutViewField.Column Property

Returns the column corresponding to the current LayoutViewField object.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public LayoutViewColumn Column { get; }
vb
<Browsable(False)>
Public ReadOnly Property Column As LayoutViewColumn

Property Value

TypeDescription
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

LayoutViewField

LayoutViewField Class

LayoutViewField Members

DevExpress.XtraGrid.Views.Layout Namespace