Xceed Chart for WinForms v4.4 Documentation
CursorType Property
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Interactivity Class : CursorType Property
The cursor type when the mouse is over the object.
Syntax
'Declaration
 
<DescriptionAttribute("The cursor type when the mouse is over the object.")>
<CategoryAttribute("General")>
Public Property CursorType As CursorType
'Usage
 
Dim instance As Interactivity
Dim value As CursorType
 
instance.CursorType = value
 
value = instance.CursorType
[Description("The cursor type when the mouse is over the object.")]
[Category("General")]
public CursorType CursorType {get; set;}
Remarks
For Windows Forms applications you must also add a CursorChangeInteractivityOperation 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 cursor type of a label:
ChartControl.InteractivityOperations.Add(New CursorChangeInteractivityOperation())

Dim label As ChartLabel =  ChartControl.Labels.AddHeader("Cursor hand") 
label.Interactivity.CursorType = CursorType.Hand
ChartControl.InteractivityOperations.Add(new CursorChangeInteractivityOperation());

ChartLabel label = ChartControl.Labels.AddHeader("Cursor hand");
label.Interactivity.CursorType = CursorType.Hand;
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