Class ChartFancyToolTip
Defines the fancy tooltip rendered on data points.
Inheritance
System.Object
ChartFancyToolTip
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class ChartFancyToolTip : IDisposable
Constructors
ChartFancyToolTip(ChartFancyToolTipInfo)
Initializes a new instance of the ChartFancyToolTip class.
Declaration
public ChartFancyToolTip(ChartFancyToolTipInfo info)
Parameters
Type | Name | Description |
---|---|---|
ChartFancyToolTipInfo | info |
Properties
Height
Gets or sets the height.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The height. |
Info
Gets the info.
Declaration
public ChartFancyToolTipInfo Info { get; }
Property Value
Type | Description |
---|---|
ChartFancyToolTipInfo | The info. |
Location
Gets or sets the location.
Declaration
public Point Location { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Point | The location. |
Shift
Gets or sets the shift.
Declaration
public int Shift { get; set; }
Property Value
Type |
---|
System.Int32 |
Size
Gets or sets the size.
Declaration
public Size Size { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | The size. |
SymbolColor
Gets or sets the color of the symbol.
Declaration
public Color SymbolColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The color of the symbol. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Visible
Gets or sets a value indicating whether this ChartFancyToolTip is visible.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Width
Gets or sets the width.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The width. |
Methods
AutoSize(Rectangle)
Recalculates size and location
Declaration
public void AutoSize(Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | rect | The rectangle to check bounds. |
GetPath(Single, Single)
Gets the GraphicsPath of current ToolTip.
Declaration
public GraphicsPath GetPath(float width, float height)
Parameters
Type | Name | Description |
---|---|---|
System.Single | width | The width. |
System.Single | height | The height. |
Returns
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath | GraphicsPath of the current ToolTip. |
Explicit Interface Implementations
IDisposable.Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
void IDisposable.Dispose()
Implements
System.IDisposable