Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolBarControl.IsCollapsed Property

Gets or sets whether the ToolBarControl is collapsed. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool IsCollapsed { get; set; }

#Property Value

Type Description
Boolean

true, if the ToolBarControl is collapsed; otherwise, false. The default is false.

#Remarks

The ToolBarControl.AllowCollapse property specifies whether the collapse feature is enabled. When the option is set to true, an end-user can collapse and then restore the bar by double-clicking the drag widget (see ToolBarControl.ShowDragWidget). The IsCollapsed property allows the ToolBarControl to be collapsed/restored in code.

See Also