Class
Border

Border settings for drawing outlines around elements, controlling line style, thickness, and color in document coordinates. Use to render frames consistently across pages and containers.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Editing

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class Border

Inheritance: objectBorder

Constructors

Border()

Initializes a new instance of the Border class.

Declaration

cs-api-definition
public Border()

Border(BorderStyle)

Initializes a new instance of the Border class.

Declaration

cs-api-definition
public Border(BorderStyle borderStyle)

Parameters

borderStyle

BorderStyle

The border style.

Border(double, BorderStyle, ColorBase)

Initializes a new instance of the Border class with the specified thickness, style, and color.

Declaration

cs-api-definition
public Border(double thickness, BorderStyle borderStyle, ColorBase color)

Parameters

thickness

double

The thickness of the border in device-independent units.

borderStyle

BorderStyle

The visual style of the border (such as solid, dashed, dotted).

color

ColorBase

The color of the border.

Border(double, ColorBase)

Initializes a new instance of the Border class.

Declaration

cs-api-definition
public Border(double thickness, ColorBase color)

Parameters

thickness

double

The thickness.

color

ColorBase

The color.

Properties

BorderStyle

Gets the visual style of the border.

Declaration

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

Property Value

BorderStyle

An enumeration value that specifies how the border is rendered (None, Single, Dotted, Dashed, etc.).

Color

Gets the color of the border.

Declaration

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

Property Value

ColorBase

A ColorBase object that represents the color used to render the border.

Thickness

Gets the border thickness in device-independent units.

Declaration

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

Property Value

double

A double value that represents the thickness of the border.