Class DrawToolTipItemEventArgs
Provides data about the
Inheritance
System.Object
DrawToolTipItemEventArgs
Namespace: Syncfusion.WinForms.Controls.Events
Assembly: Syncfusion.Shared.Base.dll
Syntax
[ComVisible(false)]
public sealed class DrawToolTipItemEventArgs : CancelEventArgs
Remarks
To abort the default drawing of the tooltip item, set
Constructors
DrawToolTipItemEventArgs(Graphics, Rectangle, ToolTipItem)
Initializes a new instance of the DrawToolTipItemEventArgs class.
Declaration
public DrawToolTipItemEventArgs(Graphics graphics, Rectangle toolTipItemRectangle, ToolTipItem toolTipItem)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | graphics | An System.Drawing.Graphics object that contains graphics data of tooltip. |
System.Drawing.Rectangle | toolTipItemRectangle | The rectangle of the tooltip item. |
ToolTipItem | toolTipItem | An ToolTipItem object. |
Properties
Graphics
Gets the graphics of the tooltip.
Declaration
public Graphics Graphics { get; }
Property Value
Type |
---|
System.Drawing.Graphics |
ToolTipItem
Gets the ToolTipItem to be drawn.
Declaration
public ToolTipItem ToolTipItem { get; }
Property Value
Type |
---|
ToolTipItem |
ToolTipItemRectangle
Gets the rectangle of the tooltip item.
Declaration
public Rectangle ToolTipItemRectangle { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |