Provides RibbonBar-specific key-tip activation and arrow-key navigation.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadRibbonBar.RibbonBarInputBehavior : ComponentInputBehavior, IDisposable
Inheritance: objectComponentBehaviorComponentInputBehaviorRadRibbonBar.RibbonBarInputBehavior
Implements:
Inherited Members
Constructors
Creates the input behavior for the specified RibbonBar, enables key tips, and places screen tips below the control.
public RibbonBarInputBehavior(RadRibbonBar owner)
The RibbonBar whose elements are navigated.
Methods
Activates the selected key-tip target using RibbonBar-specific behavior, such as selecting a tab, opening a menu, performing a button click, or focusing an editable control.
Gets key-tip targets nested under the current tab, group, or other element. Collapsed groups contribute their drop-down items directly; expanded groups are traversed recursively, with enabled and visibility checks applied in several branches.
Gets the application button and the enabled Quick Access Toolbar items and command tabs that start key-tip navigation.
Clears the remembered navigation target after the base key map is initialized.
protected override void InitializeKeyMap()
Overrides:
Processes arrow keys in RibbonBar keyboard-navigation mode. An arrow key starts navigation when the key map is active and navigation is enabled; arrow keys are consumed while navigation is active.
Focuses the selected tab, the first tab, or the tab strip, then captures mouse input unless the RibbonBar is disposed.