C# Class ComponentFactory.Krypton.Ribbon.QATButtonController

Provide quick access toolbar button controller functionality.
Inheritance: LeftUpButtonController, ISourceController, IKeyController, IRibbonKeyTipTarget
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode 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.

MouseEnter ( Control c ) : void
QATButtonController ( KryptonRibbon ribbon, ViewBase target, NeedPaintHandler needPaint ) : System

Initialize a new instance of the QATButtonController class.

Méthodes protégées

Méthode Description
UpdateTargetState ( Point pt ) : void

Set the correct visual state of the target.

Private Methods

Méthode Description
KeyDownPopupOverflow ( VisualPopupQATOverflow c, KeyEventArgs e ) : void
KeyDownRibbon ( KeyEventArgs e ) : void

Method Details

GotFocus() public méthode

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

KeyDown() public méthode

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.
Résultat void

KeyPress() public méthode

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.
Résultat void

KeyTipSelect() public méthode

Perform actual selection of the item.
public KeyTipSelect ( KryptonRibbon ribbon ) : void
ribbon KryptonRibbon Reference to owning ribbon instance.
Résultat void

KeyUp() public méthode

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.
Résultat bool

LostFocus() public méthode

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

MouseEnter() public méthode

public MouseEnter ( Control c ) : void
c System.Windows.Forms.Control
Résultat void

QATButtonController() public méthode

Initialize a new instance of the QATButtonController class.
public QATButtonController ( 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.
Résultat System

UpdateTargetState() protected méthode

Set the correct visual state of the target.
protected UpdateTargetState ( Point pt ) : void
pt Point Mouse point.
Résultat void