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.v20.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowQuickHideColumns { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowQuickHideColumns As Boolean

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
.OptionsCustomization.AllowQuickHideColumns
AdvBandedGridView
.OptionsCustomization.AllowQuickHideColumns
BandedGridView
.OptionsCustomization.AllowQuickHideColumns
BandedGridView
.OptionsCustomization.AllowQuickHideColumns
GridView
.OptionsCustomization.AllowQuickHideColumns

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.

See Also