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

Provide quick access toolbar button controller functionality.
Наследование: LeftUpButtonController, 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.

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

Initialize a new instance of the QATButtonController class.

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

Метод Описание
UpdateTargetState ( Point pt ) : 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

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

public MouseEnter ( Control c ) : void
c System.Windows.Forms.Control
Результат void

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

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

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

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