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


Legend Property (HitTestResult)
Returns a reference to a Legend object.
Syntax
'Declaration
 
Public ReadOnly Property Legend As Legend
 
'Usage
 
Dim instance As HitTestResult
Dim value As Legend
 
value = instance.Legend
Remarks
The value of this property is null (Nothing in VB.NET) 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