Class
PaintSparkPartEventArgs

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public abstract class PaintSparkPartEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsPaintSparkPartEventArgs

Derived Classes: PaintSparkFillEventArgsPaintSparkStrokeEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

PaintSparkPartEventArgs(Graphics, GraphicsPath, object)

Initializes a new instance of the PaintSparkPartEventArgs class.

Declaration

cs-api-definition
public PaintSparkPartEventArgs(Graphics graphics, GraphicsPath path, object context)

Parameters

graphics

Graphics

The Graphics object used to do the actual painting.

path

GraphicsPath

The GraphicsPath object forming a region of points which will be filled with color.

context

object

The context in which the painting will occur. The context can be the actual series, the annotations or the data points.

Properties

Context

Gets the object context in which the event will fire.

Declaration

cs-api-definition
public object Context { get; }

Property Value

object

The context.

Graphics

Gets the Graphics object.

Declaration

cs-api-definition
public Graphics Graphics { get; }

Property Value

Graphics

The Graphics object.

Path

Gets the GraphicsPath object.

Declaration

cs-api-definition
public GraphicsPath Path { get; }

Property Value

GraphicsPath

The path object.