C# Class ComponentFactory.Krypton.Ribbon.QATExtraButtonController

Provide quick access toolbar extra button controller functionality.
Inheritance: LeftDownButtonController, ISourceController, IKeyController, IRibbonKeyTipTarget
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GotFocus ( Control c ) : void

Source control has got the focus.

KeyDown ( Control c, KeyEventArgs e ) : void

Key has been pressed down.

KeyPress ( Control c, KeyPressEventArgs e ) : void

Key has been pressed.

KeyTipSelect ( KryptonRibbon ribbon ) : void

Perform actual selection of the item.

KeyUp ( Control c, KeyEventArgs e ) : bool

Key has been released.

LostFocus ( Control c ) : void

Source control has lost the focus.

MouseDown ( Control c, Point pt, MouseButtons button ) : bool

Mouse button has been pressed in the view.

QATExtraButtonController ( KryptonRibbon ribbon, ViewBase target, NeedPaintHandler needPaint ) : System

Initialize a new instance of the QATExtraButtonController class.

Protected Methods

Method Description
UpdateTargetState ( ) : void

Set the correct visual state of the target.

Private Methods

Method Description
KeyDownPopupOverflow ( VisualPopupQATOverflow c, KeyEventArgs e ) : void
KeyDownRibbon ( KeyEventArgs e ) : void

Method Details

GotFocus() public method

Source control has got the focus.
public GotFocus ( Control c ) : void
c System.Windows.Forms.Control Reference to the source control instance.
return void

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

KeyTipSelect() public method

Perform actual selection of the item.
public KeyTipSelect ( KryptonRibbon ribbon ) : void
ribbon KryptonRibbon Reference to owning ribbon instance.
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

LostFocus() public method

Source control has lost the focus.
public LostFocus ( Control c ) : void
c System.Windows.Forms.Control Reference to the source control instance.
return void

MouseDown() public method

Mouse button has been pressed in the view.
public MouseDown ( Control c, Point pt, MouseButtons button ) : bool
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
button MouseButtons Mouse button pressed down.
return bool

QATExtraButtonController() public method

Initialize a new instance of the QATExtraButtonController class.
public QATExtraButtonController ( KryptonRibbon ribbon, ViewBase target, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon instance.
target ViewBase Target for state changes.
needPaint NeedPaintHandler Delegate for notifying changes in display.
return System

UpdateTargetState() protected method

Set the correct visual state of the target.
protected UpdateTargetState ( ) : void
return void