C# Class SourceGrid.Cells.Controllers.ToolTipText

Allow to customize the tooltiptext of a cell. This class read the tooltiptext from the ICellToolTipText.GetToolTipText. This behavior can be shared between multiple cells.
Inheritance: ControllerBase
显示文件 Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
Default ToolTipText

Public Methods

Method Description
OnMouseEnter ( CellContext sender, EventArgs e ) : void
OnMouseLeave ( CellContext sender, EventArgs e ) : void

Protected Methods

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

Change the cursor with the cursor of the cell

ResetToolTipText ( CellContext sender, EventArgs e ) : void

Reset the original cursor

Method Details

ApplyToolTipText() protected method

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

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

ResetToolTipText() protected method

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

Property Details

Default public_oe static_oe property

Default tooltiptext
public static ToolTipText,SourceGrid.Cells.Controllers Default
return ToolTipText