[]
        
(Showing Draft Content)

C1.WPF.Ribbon.C1DropDownTool.OnKeyDown

OnKeyDown Method

OnKeyDown(KeyEventArgs)

Invoked on keyboard key down over C1DropDownTool. This method overrides UIElement.OnKeyDown and will close the C1DropDownTool menu based on keyboard input. This prevents focus from getting out of the dropdown if TAB or arrow keys are pressed. This applies only when the dropdown is open.

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type Name Description
KeyEventArgs e

Keyboard key associated with the event.