New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public abstract class PaintSparkPartEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsPaintSparkPartEventArgs

Derived Classes: PaintSparkFillEventArgsPaintSparkStrokeEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the PaintSparkPartEventArgs class.

C#
public PaintSparkPartEventArgs(Graphics graphics, GraphicsPath path, object context)
Parameters:graphicsGraphics

The Graphics object used to do the actual painting.

pathGraphicsPath

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

contextobject

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

Properties

Gets the object context in which the event will fire.

C#
public object Context { get; }
Property Value:

The context.

Gets the Graphics object.

C#
public Graphics Graphics { get; }
Property Value:

The Graphics object.

Gets the GraphicsPath object.

C#
public GraphicsPath Path { get; }
Property Value:

The path object.