BaseColumn.Visible Property

Gets or sets whether the column is displayed within a View. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.2.Core.dll

Declaration

public bool Visible { get; set; }
Public Property Visible As Boolean

Property Value

Type Description
Boolean

true, to display the column within a View; otherwise, false.

Remarks

To hide the column, set its Visible property to false. If a column's ColumnBase.ShowInColumnChooser option is enabled, its header (when the column is hidden) is displayed within the Column Chooser.

To show a hidden column, set its Visible property to true. To show it at a specified position among visible columns, use its BaseColumn.VisibleIndex property.

To learn more, see Hiding and Displaying Columns and Bands and Showing and Hiding Columns.

NOTE

Even if columns are hidden from the GridControl, you can sort and group values by them.

See Also