Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> <DescriptionAttribute("Fires when chart element must be drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend.")> Public Event Paint() As PaintEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[BrowsableAttribute(false)] [DescriptionAttribute("Fires when chart element must be drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend.")] public event PaintEventHandler Paint() |
The event handler receives an argument of type ChartPaintEventArgs containing data related to this event. The following ChartPaintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Chart | Chart root object. |
ChartGraphics | Chart graphics object. |
Position | Chart element position in relative coordinates. |
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