Class
PaintShapeEventArgs

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PaintShapeEventArgs : EventArgs

Inheritance: objectEventArgsPaintShapeEventArgs

Inherited Members EventArgs.Empty

Constructors

PaintShapeEventArgs(Graphics, GraphicsPath, Color, Color, int, ShapeType?)

Declaration

cs-api-definition
public PaintShapeEventArgs(Graphics graphics, GraphicsPath path, Color fillColor, Color borderColor, int borderThickness, ShapeType? shapeType)

Parameters

graphics

Graphics

path

GraphicsPath

fillColor

Color

borderColor

Color

borderThickness

int

shapeType

ShapeType?

Fields

Handled

Determines if the original shape should be painted.

Declaration

cs-api-definition
public bool Handled

Field Value

bool

Properties

BorderColor

The border color selected from the DrawShape diaolog.

Declaration

cs-api-definition
public Color BorderColor { get; }

Property Value

Color

BorderThickness

The border thickness selected from the DrawShape diaolog.

Declaration

cs-api-definition
public int BorderThickness { get; }

Property Value

int

FillColor

The fill color selected from the DrawShape diaolog.

Declaration

cs-api-definition
public Color FillColor { get; }

Property Value

Color

Graphics

The graphics object that allows you to paint.

Declaration

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

Property Value

Graphics

OriginalPath

The original shape path.

Declaration

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

Property Value

GraphicsPath

ShapeType

The shape selected from the DrawShape diaolog.

Declaration

cs-api-definition
public ShapeType? ShapeType { get; }

Property Value

ShapeType?