C# Класс 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.
Наследование: ControllerBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Default MouseCursor
Hand MouseCursor

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

Метод Описание
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

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

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

Change the cursor with the cursor of the cell
public ApplyCursor ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
Результат void

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

public MouseCursor ( System cursor, bool applyOnMouseEnter ) : System
cursor System
applyOnMouseEnter bool
Результат System

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

public OnMouseEnter ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
Результат void

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

public OnMouseLeave ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
Результат void

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

Reset the original cursor
public ResetCursor ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
Результат void

Описание свойств

Default публичное статическое свойство

public static MouseCursor,SourceGrid.Cells.Controllers Default
Результат MouseCursor

Hand публичное статическое свойство

public static MouseCursor,SourceGrid.Cells.Controllers Hand
Результат MouseCursor