Xceed Chart for WinForms v4.4 Documentation
LegendIndex Property


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > HitTestResult Class : LegendIndex Property
Returns the index of the Legend object in the control legends collection.
Syntax
'Declaration
 
Public ReadOnly Property LegendIndex As Integer
'Usage
 
Dim instance As HitTestResult

Dim value As Integer

 

value = instance.LegendIndex
public int LegendIndex {get;}
Remarks
The value of this property is -1 if the chart element is not ChartElement.Legend or 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