Skip to main content
A newer version of this page is available. .

BaseView.AllowHotkeyNavigation Property

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

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean AllowHotkeyNavigation { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

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

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

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