ToolBarControl.AllowCollapse Property
Gets or sets whether it is allowed to collapse the ToolBarControl. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if it is allowed to collapse the ToolBarControl; otherwise, false. The default is false. |
Remarks
The ToolBarControl can be collapsed, hiding its contents. At run time, an end-user can collapse the ToolBarControl with a double click on the drag widget (see ToolBarControl.ShowDragWidget). In code, you can get or set whether the ToolBarControl is collapsed using the ToolBarControl.IsCollapsed property. The AllowCollapse property specifies whether it is allowed to collapse the ToolBarControl. By default, this feature is disabled. Set the AllowCollapse property to true to allow the ToolBarControl to be collapsed.
Note
The ToolBarControl cannot be collapsed if it occupies the entire row (see ToolBarControl.UseWholeRow).