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.v23.1.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | 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 |
---|---|
GridColumn |
|
Remarks
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