BarOptions.BarState Property
In This Article
Gets or sets whether the bar is collapsed or in its normal state.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(BarState.Expanded)]
[XtraSerializableProperty]
public virtual BarState BarState { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
DevExpress. |
Expanded | A Bar |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Bar |
---|---|
Bar |
|
#Remarks
If the BarOptions.AllowCollapse property is set to true, a bar can be collapsed. An end-user can collapse a bar by double-clicking its drag widget. The BarState property allows the bar’s expansion state to be changed in code.
See Also