C# Class SourceGrid.Cells.Controllers.StandardBehavior

Common behavior of the cell. This controller can be shared between multiple cells and is usually used as the default Grid.Controller. Removing this controller can cause unexpected behaviors.
Inheritance: ControllerBase
Mostra file Open project: zhuangyy/Motion

Public Properties

Property Type Description
Default StandardBehavior

Public Methods

Method Description
CanReceiveFocus ( CellContext sender, EventArgs e ) : bool
OnClick ( CellContext sender, EventArgs e ) : void

OnDoubleClick ( CellContext sender, EventArgs e ) : void

OnEditEnded ( CellContext sender, EventArgs e ) : void

Fired when editing is ended

OnEditStarting ( CellContext sender, System e ) : void
OnFocusEntered ( CellContext sender, EventArgs e ) : void

OnFocusLeft ( CellContext sender, EventArgs e ) : void

OnKeyDown ( CellContext sender, KeyEventArgs e ) : void

OnKeyPress ( CellContext sender, KeyPressEventArgs e ) : void

OnValueChanged ( CellContext sender, EventArgs e ) : void

Fired when the SetValue method is called.

Method Details

CanReceiveFocus() public method

public CanReceiveFocus ( CellContext sender, EventArgs e ) : bool
sender CellContext
e System.EventArgs
return bool

OnClick() public method

public OnClick ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

OnDoubleClick() public method

public OnDoubleClick ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

OnEditEnded() public method

Fired when editing is ended
public OnEditEnded ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

OnEditStarting() public method

public OnEditStarting ( CellContext sender, System e ) : void
sender CellContext
e System
return void

OnFocusEntered() public method

public OnFocusEntered ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

OnFocusLeft() public method

public OnFocusLeft ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

OnKeyDown() public method

public OnKeyDown ( CellContext sender, KeyEventArgs e ) : void
sender CellContext
e System.Windows.Forms.KeyEventArgs
return void

OnKeyPress() public method

public OnKeyPress ( CellContext sender, KeyPressEventArgs e ) : void
sender CellContext
e System.Windows.Forms.KeyPressEventArgs
return void

OnValueChanged() public method

Fired when the SetValue method is called.
public OnValueChanged ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

Property Details

Default public_oe static_oe property

The default behavior of a cell.
public static StandardBehavior,SourceGrid.Cells.Controllers Default
return StandardBehavior