The Border type exposes the following members.

Constructors

  NameDescription
Public methodBorder()()()()
Initialize a new instance of the Border class.
Public methodBorder(Brush)
Initialize a new instance of the Border class with the given brush.
Public methodBorder(Color, Double)
Initialize a new instance of the Border class with the given color and width.
Public methodBorder(Pen, Brush)
Initialize a new instance of the Border class with given pen and brush.
Public methodBorder(Color, Double, Brush)
Initialize a new instance of the Border class with the given color, width and brush.
Public methodBorder(Color, Double, DashPattern, Brush)
Initialize a new instance of the Border class with given color, width, patern and brush.

Methods

  NameDescription
Public methodClone
Clones a Bordered.
Public methodCopyFrom
Copy the values for left, right, top and bottom and Background from another Border object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBackground
Get or set the brush that is used to fill the background.
Public propertyBottom
Get or set the pen that is used to draw the bottom edge.
Public propertyLeft
Get or set the pen that is used to draw the left edge.
Public propertyRight
Get or set the pen that is used to draw the right edge.
Public propertyTop
Get or set the pen that is used to draw the top edge.

See Also