Skip to main content

NavigationPageDefaultProperties.ShowCollapseButton Property

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
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 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

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