Back to Devexpress

NavigationPane.AllowNavigationThroughPages Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationpane-f0847033.md

latest2.6 KB
Original Source

NavigationPane.AllowNavigationThroughPages Property

Gets or sets whether users can focus page headers and navigate between them with the keyboard.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowNavigationThroughPages { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowNavigationThroughPages As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

true to allow users to focus page headers and navigate between them with the keyboard; otherwise, false.

|

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

The Default value depends on the WindowsFormsSettings.KeyboardNavigationExtensions property value.

Enable the AllowNavigationThroughPages option to allow users to focus page headers with the mouse or Tab key. Once a page header is focused, users can perform the following actions:

  • Press Left and Right Arrow keys to navigate to the previous/next page header.
  • Press Home and End keys to navigate to the first/last page header.
  • Press the Space key to expand/collapse the NavigationPane.

You can use the ShowHeaderFocus property to specify whether to highlight a focused page header with a dashed rectangle.

See Also

NavigationPane Class

NavigationPane Members

DevExpress.XtraBars.Navigation Namespace