C# Класс ComponentFactory.Krypton.Ribbon.QATExtraButtonController

Provide quick access toolbar extra button controller functionality.
Наследование: LeftDownButtonController, ISourceController, IKeyController, IRibbonKeyTipTarget
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
UpdateTargetState ( ) : void

Set the correct visual state of the target.

Приватные методы

Метод Описание
KeyDownPopupOverflow ( VisualPopupQATOverflow c, KeyEventArgs e ) : void
KeyDownRibbon ( KeyEventArgs e ) : void

Описание методов

GotFocus() публичный Метод

Source control has got the focus.
public GotFocus ( Control c ) : void
c System.Windows.Forms.Control Reference to the source control instance.
Результат void

KeyDown() публичный Метод

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.
Результат void

KeyPress() публичный Метод

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.
Результат void

KeyTipSelect() публичный Метод

Perform actual selection of the item.
public KeyTipSelect ( KryptonRibbon ribbon ) : void
ribbon KryptonRibbon Reference to owning ribbon instance.
Результат void

KeyUp() публичный Метод

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.
Результат bool

LostFocus() публичный Метод

Source control has lost the focus.
public LostFocus ( Control c ) : void
c System.Windows.Forms.Control Reference to the source control instance.
Результат void

MouseDown() публичный Метод

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.
Результат bool

QATExtraButtonController() публичный Метод

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.
Результат System

UpdateTargetState() защищенный Метод

Set the correct visual state of the target.
protected UpdateTargetState ( ) : void
Результат void