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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PaintSparkStrokeEventArgs : PaintSparkPartEventArgs

Inheritance: objectEventArgsCancelEventArgsPaintSparkPartEventArgsPaintSparkStrokeEventArgs

Inherited Members PaintSparkPartEventArgs.GraphicsPaintSparkPartEventArgs.PathPaintSparkPartEventArgs.ContextCancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the PaintSparkStrokeEventArgs class.

C#
public PaintSparkStrokeEventArgs(Pen strokePen, Graphics graphics, GraphicsPath path, object context)
Parameters:strokePenPen

The Pen object used to paint the line.

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 pen object. It can be modified and e.g. the back color and width changed.

C#
public Pen StrokePen { get; }
Property Value:

The brush object.