[]
Class that stores colors for individual border edges.
[TypeConverter(typeof(BorderEdgesConverter))]
public class BorderEdges
In most cases, borders have a single color and this class is not used at all.
If the members of this class are set to non-transparent colors, then the specified colors are used to paint over specific edges.
This class paints the borders with a bevel so they line up at the corners, but it does not handle corners at all, so only rectangular elements can have multi-colored borders.
Name | Description |
---|---|
BorderEdges() | Initializes a new instance of a BorderEdges. |
BorderEdges(Style) | Initializes a new instance of a BorderEdges. |
Name | Description |
---|---|
Bottom | Gets or sets the Color used to paint the bottom edge of the border. |
IsEmpty | Gets a value that determines if colors have been specified for any of the edges. |
Left | Gets or sets the Color used to paint the left edge of the border. |
Right | Gets or sets the Color used to paint the right edge of the border. |
Top | Gets or sets the Color used to paint the top edge of the border. |
Name | Description |
---|---|
Clone() | Gets a clone of this BorderEdges object. |
Equals(object) | Returns true if the colors are the same for all edges. |
~BorderEdges() | |
GetHashCode() | Serves as a hash function for a BorderEdges object. |