Skip to main content
A newer version of this page is available. .

NavigationPageDefaultProperties.ShowCollapseButton Property

Gets or sets whether or not this page should display its collapse button.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ShowCollapseButton { get; set; }

Property Value

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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

Navigation pages in the Navigation Pane control can display expand and collapse buttons (see the figure below).

NavigationPane - ExpandCollapseButtons

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