Class ToolTipShowingEventArgs
Provides data about the cancelable
Inheritance
System.Object
ToolTipShowingEventArgs
Namespace: Syncfusion.WinForms.Controls.Events
Assembly: Syncfusion.Shared.Base.dll
Syntax
[ComVisible(false)]
public sealed class ToolTipShowingEventArgs : CancelEventArgs
Remarks
To abort the showing of tooltip, set System.ComponentModel.CancelEventArgs.Cancel to True.
To change the ToolTipInfo of the tooltip, use the ToolTipInfo property.
To change the location of the tooltip, use the Location property.
In order to set the location or ToolTipInfo of the tooltip, then the
Constructors
ToolTipShowingEventArgs(Control, ToolTipInfo, Point)
Initializes a new instance of the ToolTipShowingEventArgs class.
Declaration
public ToolTipShowingEventArgs(Control control, ToolTipInfo toolTipInfo, Point location)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | control | The control which shows the tooltip. |
ToolTipInfo | toolTipInfo | The ToolTipInfo of the tooltip to be shown. |
System.Drawing.Point | location | The location of the that the tooltip is set to be shown. |
Properties
Control
Gets a control which shows the tooltip.
Declaration
public Control Control { get; }
Property Value
Type |
---|
System.Windows.Forms.Control |
Location
Gets or sets the location that the tooltip is to be shown.
Declaration
public Point Location { get; set; }
Property Value
Type |
---|
System.Drawing.Point |
ToolTipInfo
Gets or sets the specified ToolTipInfo of the tooltip.
Declaration
public ToolTipInfo ToolTipInfo { get; set; }
Property Value
Type |
---|
ToolTipInfo |