Class
Pen

Represents a pen information.

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class Pen : DependencyObject

Inheritance: objectPen

Constructors

Pen()

Initializes a new instance of the Pen class.

Declaration

cs-api-definition
public Pen()

Pen(Brush, Thickness)

Initializes a new instance of the Pen class.

Declaration

cs-api-definition
public Pen(Brush brush, Thickness thickness)

Parameters

brush

Brush

The brush.

thickness

Thickness

The thickness.

Pen(Brush, double)

Initializes a new instance of the Pen class.

Declaration

cs-api-definition
public Pen(Brush brush, double uniformLength)

Parameters

brush

Brush

The brush.

uniformLength

double

Length of the uniform.

Fields

BrushProperty

Registers the Brush property.

Declaration

cs-api-definition
public static readonly DependencyProperty BrushProperty

Field Value

DependencyProperty

ThicknessProperty

Registers the Thickness property.

Declaration

cs-api-definition
public static readonly DependencyProperty ThicknessProperty

Field Value

DependencyProperty

Properties

Brush

Gets or sets the brush.

Declaration

cs-api-definition
public Brush Brush { get; set; }

Property Value

Brush

The brush.

Thickness

Gets or sets the thickness.

Declaration

cs-api-definition
public Thickness Thickness { get; set; }

Property Value

Thickness

The thickness.