[]
Represents corners associated with a user interface (UI) element.
[TypeConverter(typeof(CornersConverter))]
public struct Corners
Name | Description |
---|---|
Corners(int) | Initializes a new instance of a Corners object. |
Corners(int, int, int, int) | Initializes a new instance of a Corners object. |
Name | Description |
---|---|
Empty | Provides a Corners object with no thickness. |
IsEmpty | Returns true if the Corners object is empty. |
LeftBottom | Gets or sets the radius for the left bottom corner. |
LeftTop | Gets or sets the radius for the left top corner. |
RightBottom | Gets or sets the radius for the right bottom corner. |
RightTop | Gets or sets the radius for the right top corner. |
Name | Description |
---|---|
Equals(object) | Determines whether the value of the specified object is equivalent to the current Corners. |
GetHashCode() | Generates a hash code for the current Corners. |
SwapLeftRight() | Swaps corners for RightToLeft layout. |
SwapTopBottom() | Swaps top and bottom corners. |
ToString() | Returns a string that represents the current Corners. |
Name | Description |
---|---|
operator ==(Corners, Corners) | Tests whether two specified Corners objects are equivalent. |
implicit operator Corners(int) | |
operator !=(Corners, Corners) | Tests whether two specified Corners objects are not equivalent. |