[]
Represents the border.
[TypeConverter(typeof())]
public class Border
Name | Description |
---|---|
Border() | Initializes a new instance of the Border class. |
Name | Description |
---|---|
ShadowLineWidth | The constant that specifies the width used to draw the shadow line. |
Name | Description |
---|---|
BottomColor | Gets or sets the color of the bottom edge. |
BottomStyle | Gets or sets the style of the bottom border line. |
Color | Gets or sets the color for all sides. |
LeftColor | Gets or sets the color of the left edge. |
LeftStyle | Gets or sets the style of the left border line. |
LineStyleOfEdges | Gets the line style of edges. |
RightColor | Gets or sets the color of the right edge. |
RightStyle | Gets or sets the style of the right border line. |
Shadow | Gets or sets a value indicating whether this Border is shadow. |
Style | Gets or sets the style for all border lines. |
TopColor | Gets or sets the color of the top edge. |
TopStyle | Gets or sets the style of the top border line. |
Name | Description |
---|---|
Clone() | Performs a cloning of this instance. |
ColorOfEdges(int) | Gets color of the edge at the given index. |
CopyTo(Border) | Copies this border attributes to the specified border. |
GetBorderLineWidth(BorderLineStyle, float) | Gets width of the border line. |
GetMargins(float) | Returns a Border.BorderMargins object that contains the thickness of the top, left, right, and bottom edges of the drawn border. |
GetShadowLinePosition(BorderEdges, RectangleF, float, out PointF, out PointF) | Gets the position of the shadow line. |
Inflate(float, RectangleF) | Inflates the boundaries according to the mergins. |
Inflate(float, RectangleF, float) | Inflates the boundaries according to the mergins. |
InflateInches(DeviceInfo, RectangleF) | Inflates the boundaries according to the mergins in inch units. |
IsEmpty() | Gets whether the current instance is empty. |
MarginsInPoints(float, float, float) | Returns a Border.BorderMargins object that contains the thickness of the top, left, right, and bottom edges of the drawn border. |
PenStyle(int) | Gets the line style for the pen using the specified edge. |
Read(BinaryReader, short) | Reads properties from a BinaryReader. |
ReadXml(XmlNode) | Reads data from the specified System.Xml.XmlNode. |
Render(ArrayList, RectangleF, float, float, float) | Renders the border around the specified rectangle. |
ToString() | Returns a string that represents the current object. |
Write(BinaryWriter, short) | Writing the current values using a specified BinaryWriter. |
WriteXml(XmlElement) | Writes the current data to the specified System.Xml.XmlElement. |
Name | Description |
---|---|
PropertyChanged | The event occurs when the property is changed. |