windowsforms-devexpress-dot-xtranavbar-dot-optionsnavpane-a7ae6a3e.md
Gets or sets the control’s width when in the collapsed state.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
[XtraSerializableProperty]
public virtual int CollapsedWidth { get; set; }
<XtraSerializableProperty>
Public Overridable Property CollapsedWidth As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | -1 |
An integer value that specifies the control’s width in the collapsed state.
|
You can access this nested property as listed below:
| Object Type | Path to CollapsedWidth |
|---|---|
| NavBarControl |
.OptionsNavPane .CollapsedWidth
|
When the NavigationPane paint style is applied, the NavBarControl can be minimized to save space and then restored if necessary. The CollapsedWidth property specifies the control’s width when it’s in the collapsed state.
See Also
OptionsNavPane.CollapsedNavPaneContentControl