Dundas Chart for Windows Forms
ChartArea Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > HitTestResult Class : ChartArea Property


Gets the ChartArea object that may be associated with a chart element returned by a hit test (depends if a chart element was detected at the given location, as well as the type of chart element).


Chart Area object

Syntax

Visual Basic (Declaration)  
Public Property ChartArea As ChartArea
Visual Basic (Usage) Copy Code
Dim instance As HitTestResult
Dim value As ChartArea
 
instance.ChartArea = value
 
value = instance.ChartArea
C#  
public ChartArea ChartArea {get; set;}

Return Value

An object of type ChartArea, or null (Nothing for Visual Basic).  Defaults to null.

Remarks

If a chart object is returned by the hit test then this ChartArea property will reference the ChartArea object that is associated with the returned chart element.

If no chart element is returned by the hit test then this property will be null (or Nothing, for Visual Basic developers).

Note that the HitTest method may be called explicitly, in which case a chart element may or may not be at the specified location.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.