ESRI.ArcGIS.ADF.Web.UI.WebControls
Paint Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls.Design Namespace > LayerDefinitionCollectionEditorForm Class : Paint Event




Syntax

Visual Basic (Declaration) 
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Occurs when a control needs repainting.")>
Public Event Paint As PaintEventHandler
Visual Basic (Usage)Copy Code
Dim instance As LayerDefinitionCollectionEditorForm
Dim handler As PaintEventHandler
 
AddHandler instance.Paint, handler
C# 
[SRCategoryAttribute("Appearance")]
[SRDescriptionAttribute("Occurs when a control needs repainting.")]
public event PaintEventHandler Paint

Event Data

The event handler receives an argument of type PaintEventArgs containing data related to this event. The following PaintEventArgs properties provide information specific to this event.

PropertyDescription
ClipRectangle Gets the rectangle in which to paint.
Graphics Gets the graphics used to paint.

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

© 2011 All Rights Reserved.