Search
PrepaintEventArgs Members
Constructors Properties Methods
 


Provides data for various pre-paint events.

The following tables list the members exposed by the PrepaintEventArgs type.

 Public Constructors

  Name Description

PrepaintEventArgs

Initializes a new instance of the PrepaintEventArgs class.

 Public Properties

  Name Description

CancelDefaultPainting

Gets or sets a value indicating whether the default painting of this element should be performed.

Element

Gets the element being custom drawn. (Inherited from CustomPaintEventArgs.)

Graphics

Gets the target graphics. (Inherited from CustomPaintEventArgs.)

 Public Methods

  Name Description

CreateLinearGradient

Overloaded. Creates a linear gradient. (Inherited from CustomPaintEventArgs.)

CreatePathGradient

Creates a path gradient with the specified center point and a blend specified by a series of positions and color objects. (Inherited from CustomPaintEventArgs.)

PaintVisualElement

Paints the specified visual element to the underlying IGraphics. (Inherited from CustomPaintEventArgs.)

 See Also