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.v24.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 |
---|---|
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.