Back to Devexpress

NavigationPageDefaultProperties.ShowExpandButton Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationpagedefaultproperties-86f2271e.md

latest2.6 KB
Original Source

NavigationPageDefaultProperties.ShowExpandButton Property

Gets or sets whether or not this NavigationPage should display its expand 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 ShowExpandButton { get; set; }
vb
<XtraSerializableProperty(XtraSerializationFlags.DefaultValue)>
<DefaultValue(DefaultBoolean.Default)>
Public Property ShowExpandButton As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumerator value that specifies whether or not this NavigationPage should display its expand 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

Page expand buttons are displayed within Navigation Pane containers only.

If the ShowExpandButton property equals DefaultBoolean.Default , the page has the same global behavior as the NavigationPageProperties.ShowExpandButton property sets. Otherwise, the ShowExpandButton property overrides this setting.

See Also

ShowExpandButton

NavigationPageDefaultProperties Class

NavigationPageDefaultProperties Members

DevExpress.XtraBars.Navigation Namespace