Xceed Chart for WinForms v4.4 Documentation
Tooltip Property (Interactivity)
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Interactivity Class : Tooltip Property
The tooltip of the object when the mouse passes over it.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DescriptionAttribute("The tooltip of the object when the mouse passes over it.")>
Public Property Tooltip As String
'Usage
 
Dim instance As Interactivity
Dim value As String
 
instance.Tooltip = value
 
value = instance.Tooltip
[Category("General")]
[Description("The tooltip of the object when the mouse passes over it.")]
public string Tooltip {get; set;}
Remarks
For Windows Forms applications you must also add a TooltipInteractivityOperation object to the InteractivityOperations collection of the control. For Web forms you must use a response type of HTML image map or HMTL postback in order for this property to take effect.
Example
The following code changes the tooltip of a label:
ChartControl.InteractivityOperations.Add(New TooltipInteractivityOperation())

Dim label As ChartLabel =  ChartControl.Labels.AddHeader("Cursor hand") 
label.Interactivity.Tooltip = "There is nothing special about tooltips"
ChartControl.InteractivityOperations.Add(new TooltipInteractivityOperation());

ChartLabel label = ChartControl.Labels.AddHeader("Cursor hand");
label.Interactivity.Tooltip = "There is nothing special about tooltips";
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Interactivity Class
Interactivity Members