Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SeriesInteractivity Class / CursorMode Property
Example


In This Topic
    CursorMode Property
    In This Topic
    Controls the cursors mode.
    Syntax
    'Declaration
     
    <CategoryAttribute("Cursors")>
    <DescriptionAttribute("Controls the cursors mode.")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property CursorMode As SeriesCursorMode
    'Usage
     
    Dim instance As SeriesInteractivity
    Dim value As SeriesCursorMode
     
    instance.CursorMode = value
     
    value = instance.CursorMode
    [Category("Cursors")]
    [Description("Controls the cursors mode.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public SeriesCursorMode CursorMode {get; set;}
    Remarks
    By default set to Default.
    Example
    The following code instructs a bar series to have an Hand cursor.
    barSeries.Interactivity.CursorMode = SeriesCursorMode.Default
    barSeries.Interactivity.DefaultCursor = CursorType.Hand
    barSeries.Interactivity.CursorMode = SeriesCursorMode.Default;
    barSeries.Interactivity.DefaultCursor = 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