Skip to main content

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.v14.2.Core.dll

#Declaration

[GridUIProperty]
[XtraSerializableProperty]
public bool Visible { get; set; }

#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 Showing and Hiding Columns.

See Also