windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionscustomization-413c0ea1.md
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.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowQuickHideColumns { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowQuickHideColumns As Boolean
| 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
|
You can access this nested property as listed below:
| Object Type | Path to AllowQuickHideColumns |
|---|---|
| GridView |
.OptionsCustomization .AllowQuickHideColumns
|
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.
See Also
GridOptionsCustomization Class