Xceed Chart for WinForms v4.4 Documentation
LegendDataItemIndex Property


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > HitTestResult Class : LegendDataItemIndex Property
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

Reference

HitTestResult Class
HitTestResult Members