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
Afficher le fichier Open project: zhuangyy/Motion

Méthodes publiques

Свойство Type Description
Default MouseCursor
Hand MouseCursor

Méthodes publiques

Méthode 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 méthode

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

MouseCursor() public méthode

public MouseCursor ( System cursor, bool applyOnMouseEnter ) : System
cursor System
applyOnMouseEnter bool
Résultat System

OnMouseEnter() public méthode

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

OnMouseLeave() public méthode

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

ResetCursor() public méthode

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

Property Details

Default public_oe static_oe property

public static MouseCursor,SourceGrid.Cells.Controllers Default
Résultat MouseCursor

Hand public_oe static_oe property

public static MouseCursor,SourceGrid.Cells.Controllers Hand
Résultat MouseCursor