[]
        
(Showing Draft Content)

C1.WPF.Document.Border

Border Class

Represents a border of object.

Inheritance
Border
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class Border : VisualPrimitive, INotifyPropertyChanged

Constructors

Name Description
Border()

Initializes a new instance of the Border class.

Border(double, Color, DashStyle)

Initializes a new instance of the Border class.

Properties

Name Description
Bottom

Gets the Line object defining bottom edge of the border.

Color

Gets or sets the color of all sides of the border. If different sides of the border have different colors, gets Color.Empty. Setting this property to null does not have any effect.

CornerRadius

Gets or sets the CornerRadius structure defining the corners' radii of the rounded border.

Left

Gets the Line object defining left edge of the border.

Right

Gets the Line object defining right edge of the border.

Style

Gets or sets the style of all sides of the border. If different sides of the border have different styles, gets null. Setting this property to null does not have any effect.

Top

Gets the Line object defining top edge of the border.

Width

Gets or sets the width of all sides of the border. If different sides of the border have different widths, gets null. Setting this property to null does not have any effect.

Methods

Name Description
AssignFrom(VisualPrimitive)

Assigns (copies) properties from another Border to the current object.

Compare(VisualPrimitive)

Compares this Border object with another Border object returns true if objects represent same border.

CreateSame()

Creates an object of the same type as the current object.

GetHashCodeInt()

For internal use.

Reset()

Resets all properties to default values.

ShouldSerialize()

Indicates whether any property of this object has changed from its default value.

ToString()