NavigationPageDefaultProperties.ShowCollapseButton Property

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v21.2.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 default behavior determined by the control’s logic.

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