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

Process mouse events for a ribbon based button spec button.
Наследование: ComponentFactory.Krypton.Toolkit.ButtonController
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ButtonSpecRibbonController ( ViewBase target, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ButtonSpecRibbonController class.

GotFocus ( Control c ) : void

Source control has lost the focus.

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.

LostFocus ( Control c ) : void

Source control has lost the focus.

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

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

Set the correct visual state of the target.

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

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

Initialize a new instance of the ButtonSpecRibbonController class.
public ButtonSpecRibbonController ( ViewBase target, NeedPaintHandler needPaint ) : System
target ViewBase Target for state changes.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System

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

Source control has lost 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

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

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

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