Back to Devexpress

NavigationPageDefaultProperties.ShowCollapseButton Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationpagedefaultproperties-c7af5ac8.md

latest2.9 KB
Original Source

NavigationPageDefaultProperties.ShowCollapseButton Property

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public DefaultBoolean ShowCollapseButton { get; set; }
vb
<XtraSerializableProperty(XtraSerializationFlags.DefaultValue)>
<DefaultValue(DefaultBoolean.Default)>
Public Property ShowCollapseButton As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumerator value that specifies whether or not this page should display its collapse button.

|

Available values:

NameDescriptionReturn 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

|

Remarks

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

ShowCollapseButton

NavigationPageDefaultProperties Class

NavigationPageDefaultProperties Members

DevExpress.XtraBars.Navigation Namespace