C# Class ComponentFactory.Krypton.Toolkit.ContextMenuController

Controller for a VisualContextMenu popup.
Inheritance: GlobalId, IKeyController
Show file Open project: ComponentFactory/Krypton

Public Methods

Method Description
ContextMenuController ( ViewContextMenuManager viewManager ) : System

Initialize a new instance of the ContextMenuController class.

KeyDown ( Control c, KeyEventArgs e ) : void

Key has been pressed down.

KeyPress ( Control c, KeyPressEventArgs e ) : void

Key has been pressed.

KeyUp ( Control c, KeyEventArgs e ) : bool

Key has been released.

Method Details

ContextMenuController() public method

Initialize a new instance of the ContextMenuController class.
public ContextMenuController ( ViewContextMenuManager viewManager ) : System
viewManager ViewContextMenuManager Owning view manager instance.
return System

KeyDown() public method

Key has been pressed down.
public KeyDown ( Control c, KeyEventArgs e ) : void
c System.Windows.Forms.Control Reference to the source control instance.
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
return void

KeyPress() public method

Key has been pressed.
public KeyPress ( Control c, KeyPressEventArgs e ) : void
c System.Windows.Forms.Control Reference to the source control instance.
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
return void

KeyUp() public method

Key has been released.
public KeyUp ( Control c, KeyEventArgs e ) : bool
c System.Windows.Forms.Control Reference to the source control instance.
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
return bool