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


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Background Class : Interactivity Property
Gives you access to the Interactivity object of the background.
Syntax
'Declaration
 
<CategoryAttribute("General")>

<DescriptionAttribute("Gives you access to the Interactivity object of the background.")>

Public ReadOnly Property Interactivity As Interactivity
'Usage
 
Dim instance As Background

Dim value As Interactivity

 

value = instance.Interactivity
[Category("General")]

[Description("Gives you access to the Interactivity object of the background.")]

public Interactivity Interactivity {get;}
Remarks
With the Interactivity object you can control the tooptips, mouse cursor change and browser redirection (HTML image maps only) associated with the background. For more information on the Interactivity object and the interactivity features take a look at the "Interactivity" book in the Users Guide.
Example
The following example sets a tooltip to the background,
' enable tooltips

Dim tooltip As TooltipInteractivityOperation =  New TooltipInteractivityOperation() 

m_ChartControl.InteractivityOperations.Add(tooltips)

' change the tooltip on the background

m_ChartControl.Background.Interactivity.Tooltip = "Custom tooltip"
// enable tooltips

            TooltipInteractivityOperation tooltip = new TooltipInteractivityOperation();

            m_ChartControl.InteractivityOperations.Add(tooltips);

// change the tooltip on the background

            m_ChartControl.Background.Interactivity.Tooltip = "Custom tooltip"
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

Background Class
Background Members