C# Class SourceGrid.Cells.Controllers.Button

Button controller is used to executed a specific action when the user click on a cell or when the user press the Enter or Space key (using the OnKeyDown event). Is normally used with the Link or Button Cell. Override the OnExecuted to add your code or use the Executed event.
Inheritance: ControllerBase
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Méthode Description
OnClick ( CellContext sender, EventArgs e ) : void
OnExecuted ( CellContext sender, EventArgs e ) : void
OnKeyDown ( CellContext sender, KeyEventArgs e ) : void
OnMouseDown ( CellContext sender, MouseEventArgs e ) : void

Method Details

OnClick() public méthode

public OnClick ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
Résultat void

OnExecuted() public méthode

public OnExecuted ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
Résultat void

OnKeyDown() public méthode

public OnKeyDown ( CellContext sender, KeyEventArgs e ) : void
sender CellContext
e System.Windows.Forms.KeyEventArgs
Résultat void

OnMouseDown() public méthode

public OnMouseDown ( CellContext sender, MouseEventArgs e ) : void
sender CellContext
e System.Windows.Forms.MouseEventArgs
Résultat void