Back to Devexpress

GridOptionsCustomization.AllowQuickHideColumns Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionscustomization-413c0ea1.md

latest3.4 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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 TypePath to 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

AllowColumnMoving

OptionsColumn.AllowMove

AllowShowHide

OptionsBand.AllowMove

GridOptionsCustomization Class

GridOptionsCustomization Members

DevExpress.XtraGrid.Views.Grid Namespace