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.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Editing
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class Border
Constructors
Border()
Border(Double, ColorBase)
Initializes a new instance of the Border class.
Declaration
public Border(double thickness, ColorBase color)
Parameters
|
System.Double
thickness
The thickness. |
|
ColorBase
color
The color. |
Border(Double, BorderStyle, ColorBase)
Initializes a new instance of the Border class with the specified thickness, style, and color.
Declaration
public Border(double thickness, BorderStyle borderStyle, ColorBase color)
Parameters
|
System.Double
thickness
The thickness of the border in device-independent units. |
|
BorderStyle
borderStyle
The visual style of the border (such as solid, dashed, dotted). |
|
ColorBase
color
The color of the border. |
Border(BorderStyle)
Initializes a new instance of the Border class.
Declaration
public Border(BorderStyle borderStyle)
Parameters
|
BorderStyle
borderStyle
The border style. |
Properties
BorderStyle
Gets the visual style of the border.
Declaration
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
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
public double Thickness { get; }
Property Value
|
System.Double
A double value that represents the thickness of the border. |