C# Class SourceGrid.Cells.Controllers.MouseCursor

Allow to customize the cursor of a cell. The cell must implement ICellCursor. This behavior can be shared between multiple cells.
Inheritance: ControllerBase
显示文件 Open project: zhuangyy/Motion

Public Properties

Property Type Description
Default MouseCursor
Hand MouseCursor

Public Methods

Method Description
ApplyCursor ( CellContext sender, EventArgs e ) : void

Change the cursor with the cursor of the cell

MouseCursor ( System cursor, bool applyOnMouseEnter ) : System
OnMouseEnter ( CellContext sender, EventArgs e ) : void
OnMouseLeave ( CellContext sender, EventArgs e ) : void
ResetCursor ( CellContext sender, EventArgs e ) : void

Reset the original cursor

Method Details

ApplyCursor() public method

Change the cursor with the cursor of the cell
public ApplyCursor ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

MouseCursor() public method

public MouseCursor ( System cursor, bool applyOnMouseEnter ) : System
cursor System
applyOnMouseEnter bool
return System

OnMouseEnter() public method

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

OnMouseLeave() public method

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

ResetCursor() public method

Reset the original cursor
public ResetCursor ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

Property Details

Default public_oe static_oe property

public static MouseCursor,SourceGrid.Cells.Controllers Default
return MouseCursor

Hand public_oe static_oe property

public static MouseCursor,SourceGrid.Cells.Controllers Hand
return MouseCursor