A newer version of this page is available. Switch to the current version.

OptionsColumn.AllowShowHide Property

Gets or sets whether the column can be hidden or restored by an end-user.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.1.dll


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

Property Value

Type Default Description


true if the column can be hidden or restored by an end-user; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowShowHide


If the AllowShowHide property is set to false, the column, if visible, cannot be hidden by dragging it away from the Column Header Panel. Similarly, if the column is hidden, it cannot be restored by dragging it from the Customization Form onto the column header panel.

See GridOptionsCustomization.AllowQuickHideColumns, to learn how columns can be hidden by end-users.

See Also