Class ToolTipEx
Represents a ToolTip window that displays a brief description about a region when user places the mouse over it on the EditControl.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Edit.Forms.Popup
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class ToolTipEx : BasePopupForm, IDisposable
Constructors
ToolTipEx(Control)
Initializes a new instance of in ToolTipEx class.
Declaration
public ToolTipEx(Control parent)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | parent | Parent control of the tooltip. |
ToolTipEx(Control, Boolean)
Initializes a new instance of in ToolTipEx class.
Declaration
public ToolTipEx(Control parent, bool bShowOnMouseStop)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | parent | Parent of tooltip. |
System.Boolean | bShowOnMouseStop | Indicates whether tooltip should be shown when mouse move is paused over parent's window. |
Properties
CreateParams
Gets or sets the value which determines whether to show shadow or not
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Type |
---|
System.Windows.Forms.CreateParams |
ShowDelay
Gets or sets the delay in milliseconds before showing the tooltip.
Declaration
public int ShowDelay { get; set; }
Property Value
Type |
---|
System.Int32 |
ToolTipText
Gets or sets the text of tooltip.
Declaration
public string ToolTipText { get; set; }
Property Value
Type |
---|
System.String |
UseXPStyle
Gets or sets a value indicating whether the XP style should be used in ToolTipEx.
Declaration
public bool UseXPStyle { get; set; }
Property Value
Type |
---|
System.Boolean |
UseXPStyleBorder
Gets or sets a value indicating whether the XP style 3D border should be used in ToolTipEx.
Declaration
public bool UseXPStyleBorder { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose()
Releases all resources used by this Controls component.
Declaration
public void Dispose()
OnPaint(PaintEventArgs)
Paints tooltip itself.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | PaintEventArgs. |
OnPaintBackground(PaintEventArgs)
Paints background of the tooltip.
Declaration
protected override void OnPaintBackground(PaintEventArgs pevent)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | pevent | PaintEventArgs. |
ShowToolTip()
Displays the tooltip when user hovers over a text on the EditControl.
Declaration
public void ShowToolTip()
Events
UpdateTooltip
Occurs when tooltip text is updated.
Declaration
public event UpdateTooltipEventHandler UpdateTooltip
Event Type
Type |
---|
UpdateTooltipEventHandler |