Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / HitTestResult Class / LegendDataItemIndex Property


In This Topic
    LegendDataItemIndex Property
    In This Topic
    Returns the index of the LegendDataItem object in the Legend data collection.
    Syntax
    'Declaration
     
    Public ReadOnly Property LegendDataItemIndex As Integer
    'Usage
     
    Dim instance As HitTestResult
    Dim value As Integer
     
    value = instance.LegendDataItemIndex
    public int LegendDataItemIndex {get;}
    Remarks
    The value of this property is -1 if the chart element is not ChartElement.LegendDataItem.
    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