Back to Devexpress

Bar.IsCollapsed Property

wpf-devexpress-dot-xpf-dot-bars-dot-bar-8b757d03.md

latest1.5 KB
Original Source

Bar.IsCollapsed Property

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

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool IsCollapsed { get; set; }
vb
Public Property IsCollapsed As Boolean

Property Value

TypeDescription
Boolean

true if the bar is collapsed; false if the bar is in its normal state.

|

Remarks

The Bar.AllowCollapse property specifies whether the bar collapsing 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 the Bar.ShowDragWidget option). The IsCollapsed property allows a bar’s to be collapsed/restored in code.

See Also

AllowCollapse

ShowDragWidget

Bar Class

Bar Members

DevExpress.Xpf.Bars Namespace