GridOptionsCustomization.AllowQuickHideColumns Property
Gets or sets whether a column/band can be hidden by dragging it away from the Column Header Panel, even if the Customization Form is not open.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v18.2.dll
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowQuickHideColumns { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true if a column/band can be hidden by dragging it away from the Column Header Panel, even if the Customization Form is not open; otherwise, false |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowQuickHideColumns |
---|---|
AdvBandedGridView |
|
BandedGridView |
|
GridView |
|
Remarks
If the AllowQuickHideColumns property is disabled, a column/band can only be hidden by dragging it away from the Column Header Panel, if the Customization Form is visible.
You can prevent a specific column from being hidden, and prevent a specific hidden column from being restored via the OptionsColumn.AllowShowHide option.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowQuickHideColumns property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.