Back to Devexpress

TreeListOptionsCustomization.AllowQuickHideColumns Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionscustomization-65506bff.md

latest3.9 KB
Original Source

TreeListOptionsCustomization.AllowQuickHideColumns Property

Specifies whether bands and individual columns can be hidden by dragging their headers away from the header panel.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

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 bands and columns can be hidden by dragging their headers away from the header panel; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowQuickHideColumns
TreeList

.OptionsCustomization .AllowQuickHideColumns

|

Remarks

If the AllowQuickHideColumns property is set to false , columns and bands can only be hidden by dragging their headers to the Customization Form.

This property is not in effect when you customize bands using the Tree List Designer.

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.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.cs#L40

csharp
tree.OptionsCustomization.AllowFilter = false;
tree.OptionsCustomization.AllowQuickHideColumns = false;
tree.OptionsCustomization.AllowSort = false;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.vb#L44

vb
tree.OptionsCustomization.AllowFilter = False
tree.OptionsCustomization.AllowQuickHideColumns = False
tree.OptionsCustomization.AllowSort = False

See Also

Customization Form

TreeListOptionsCustomization Class

TreeListOptionsCustomization Members

DevExpress.XtraTreeList Namespace