C# Class ComponentFactory.Krypton.Toolkit.ToolTipManager

Manages when tooltips are displayed in response to provided messages.
ファイルを表示 Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
DoubleClick ( ViewBase targetElement, Point pt ) : void

Left mouse button double click.

MouseDown ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void

Mouse button has been pressed in the view.

MouseEnter ( ViewBase targetElement, Control c ) : void

Mouse has entered the view.

MouseLeave ( ViewBase targetElement, Control c, ViewBase next ) : void

Mouse has left the view.

MouseMove ( ViewBase targetElement, Control c, Point pt ) : void

Mouse has moved inside the view.

MouseUp ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void

Mouse button has been released in the view.

ToolTipManager ( ) : System

Initialize a new instance of the TooltipManager class.

Protected Methods

Method Description
OnCancelToolTip ( ) : void

Raises the CancelTooltip event.

OnShowToolTip ( ToolTipEventArgs e ) : void

Raises the ShowTooltip event.

Private Methods

Method Description
OnStartTimerTick ( object sender, EventArgs e ) : void
OnStopTimerTick ( object sender, EventArgs e ) : void

Method Details

DoubleClick() public method

Left mouse button double click.
public DoubleClick ( ViewBase targetElement, Point pt ) : void
targetElement ViewBase Target element for the mouse message.
pt Point Mouse position relative to control.
return void

MouseDown() public method

Mouse button has been pressed in the view.
public MouseDown ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
button MouseButtons Mouse button pressed down.
return void

MouseEnter() public method

Mouse has entered the view.
public MouseEnter ( ViewBase targetElement, Control c ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
return void

MouseLeave() public method

Mouse has left the view.
public MouseLeave ( ViewBase targetElement, Control c, ViewBase next ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
next ViewBase Reference to view that is next to have the mouse.
return void

MouseMove() public method

Mouse has moved inside the view.
public MouseMove ( ViewBase targetElement, Control c, Point pt ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
return void

MouseUp() public method

Mouse button has been released in the view.
public MouseUp ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
button MouseButtons Mouse button released.
return void

OnCancelToolTip() protected method

Raises the CancelTooltip event.
protected OnCancelToolTip ( ) : void
return void

OnShowToolTip() protected method

Raises the ShowTooltip event.
protected OnShowToolTip ( ToolTipEventArgs e ) : void
e ToolTipEventArgs A TooltipEventArgs that contains the event data.
return void

ToolTipManager() public method

Initialize a new instance of the TooltipManager class.
public ToolTipManager ( ) : System
return System