The text which is going to be displayed as a Tool Tip.
Visual Basic (Declaration) | |
---|---|
Public Property Text As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string Text {get; set;} |
Return Value
Represents the tooltip text of the element the GetToolTipText event was raised for.
We use this event to provide tooltip text for a scrollbar thumb, which is associated with the primary X axis in a chart area named "Default".
C# | Copy Code |
---|---|
using Dundas.Charting.WinControl; |
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WinControl |
This property is exposed in the GetToolTipText event of the root Chart object.
Only DataPoint, Series and LegendItem objects can have a tooltip assigned via the ToolTip and LegendToolTip properties, so getting this property will always return a zero-length string for all chart elements except series, data points and custom legend items that have a tooltip.
Use this property to:
-
Override the tooltip of a series, data point or custom legend item.
-
Assign a tooltip to a chart element that does not have ToolTip and LegendToolTip properties.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family