windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationpagedefaultproperties-c7af5ac8.md
Gets or sets whether or not this page should display its collapse button.
Namespace : DevExpress.XtraBars.Navigation
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public DefaultBoolean ShowCollapseButton { get; set; }
<XtraSerializableProperty(XtraSerializationFlags.DefaultValue)>
<DefaultValue(DefaultBoolean.Default)>
Public Property ShowCollapseButton As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
A DefaultBoolean enumerator value that specifies whether or not this page should display its collapse button.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
Navigation pages in the Navigation Pane control can display expand and collapse buttons (see the figure below).
The ShowCollapseButton property, accessed through the NavigationPage.Properties group, specifies whether or not the collapse button for this page should be visible. If the ShowCollapseButton property equals DefaultBoolean.Default , the page inherits the global collapse button visibility setting provided by the NavigationPageProperties.ShowCollapseButton property. Otherwise, it overrides this global behavior.
See Also
NavigationPageDefaultProperties Class