Back to Devexpress

BaseView.AllowHotkeyNavigation Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-baseview-a88c6981.md

latest2.6 KB
Original Source

BaseView.AllowHotkeyNavigation Property

Gets or sets whether switching between tabbed documents using keyboard shortcuts is allowed.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean AllowHotkeyNavigation { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property AllowHotkeyNavigation As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumeration value that specifies whether switching between tabbed documents using keyboard shortcuts is allowed.

|

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

An end-user can use the Document Selector to navigate to a specific document or dock panel using the keyboard (see BaseView.UseDocumentSelector). By default, the Document Selector is enabled. If the Document Selector is disabled, it is still possible to switch between tabbed documents using the CTRL+TAB and CTRL+SHIFT+TAB shortcuts. The AllowHotkeyNavigation property specifies whether this feature is enabled. The Default value assigned to this property is equivalent to False. Thus, the keyboard hot-key navigation is disabled by default. Set the AllowHotkeyNavigation property to True to allow an end-user to switch between tabbed documents using keyboard shortcuts.

See Also

UseDocumentSelector

BaseView Class

BaseView Members

DevExpress.XtraBars.Docking2010.Views Namespace