Tab

Border Members

Serves as a base for classes that define border settings of different element sides (left, right, top and bottom).

Constructors

Name Description
Border() Initializes a new instance of the Border class.
Border(Color, BorderStyle, Unit) Initialize a new instance of the Border class with the color, style and width settings specified.

Fields

Name Description
NullBorder static Defines null border settings.

Properties

Name Description
BorderColor Gets or sets the border color.
BorderStyle Gets or sets the border style.
BorderWidth Gets or sets the border width.
IsEmpty Gets a value that indicates whether this Border object is initialized with the default values.

Methods

Name Description
Assign(BorderBase) Copies the settings from the specified BorderBase object to the current object. Inherited from BorderBase.
AssignToControl(WebControl) Copies the settings from the current Border object to the specified object.
CopyFrom(BorderBase) Duplicates the properties of the specified object into the current instance of the BorderBase class. Inherited from BorderBase.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
FillStyleAttributes(CssStyleCollection, IUrlResolutionService) For internal use only.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MergeWith(BorderBase) Combines the properties of the specified BorderBase with the current instance of the BorderBase class. Inherited from BorderBase.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Returns the BorderBase object to its original state. Inherited from BorderBase.
ToString() Returns a string that represents the current object. Inherited from BorderBase.
See Also