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


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Watermark Class : Interactivity Property
Gives you access to the Interactivity object associated with the watermark.
Syntax
'Declaration
 
<DescriptionAttribute("Gives you access to the Interactivity object associated with the watermark")>
<CategoryAttribute("Attributes")>
Public Property Interactivity As Interactivity
'Usage
 
Dim instance As Watermark
Dim value As Interactivity
 
instance.Interactivity = value
 
value = instance.Interactivity
[Description("Gives you access to the Interactivity object associated with the watermark")]
[Category("Attributes")]
public Interactivity Interactivity {get; set;}
Remarks
With the Interactivity object you can control the tooptips, mouse cursor change and browser redirection (HTML image maps only) associated with the watermark. 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 code changes the tooltip of a watermark:
ChartControl.InteractivityOperations.Add(New TooltipInteractivityOperation())
 
Dim watermark As Watermark =  New Watermark() 
watermark.ImageFileName = "d:\windows\Coffee Bean.bmp"
watermark.Interactivity.Tooltip = "Do you like coffee?"
ChartControl.Watermarks.Add(watermark)
ChartControl.InteractivityOperations.Add(new TooltipInteractivityOperation());

Watermark watermark = new Watermark();
watermark.ImageFileName = "d:\\windows\\Coffee Bean.bmp";
watermark.Interactivity.Tooltip = "Do you like coffee?";
ChartControl.Watermarks.Add(watermark);
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

Watermark Class
Watermark Members