CornerRadius CornerRadius CornerRadius CornerRadius Struct

Definition

Describes the characteristics of a rounded corner, such as can be applied to a Border.

public value class CornerRadius
[System.Security.SecurityCritical]
public struct CornerRadius
type CornerRadius = struct
Public Structure CornerRadius
Inheritance
CornerRadiusCornerRadiusCornerRadiusCornerRadius
Attributes

Constructors

CornerRadius(Double) CornerRadius(Double) CornerRadius(Double) CornerRadius(Double)

Initializes a new CornerRadius structure, applying the same uniform radius to all its corners.

CornerRadius(Double, Double, Double, Double) CornerRadius(Double, Double, Double, Double) CornerRadius(Double, Double, Double, Double) CornerRadius(Double, Double, Double, Double)

Initializes a new instance of the CornerRadius struct, applying specific radius values to its corners.

Properties

BottomLeft BottomLeft BottomLeft BottomLeft

Gets or sets the radius of rounding, in pixels, of the bottom left corner of the object where a CornerRadius is applied.

BottomRight BottomRight BottomRight BottomRight

Gets or sets the radius of rounding, in pixels, of the bottom right corner of the object where a CornerRadius is applied.

TopLeft TopLeft TopLeft TopLeft

Gets or sets the radius of rounding, in pixels, of the top left corner of the object where a CornerRadius is applied.

TopRight TopRight TopRight TopRight

Gets or sets the radius of rounding, in pixels, of the top right corner of the object where a CornerRadius is applied.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares this CornerRadius struct to another object for equality.

Equals(CornerRadius) Equals(CornerRadius) Equals(CornerRadius) Equals(CornerRadius)

Compares this CornerRadius struct to another CornerRadius structure for equality.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code of the structure.

ToString() ToString() ToString() ToString()

Returns the string representation of the CornerRadius structure.

Operators

Equality(CornerRadius, CornerRadius) Equality(CornerRadius, CornerRadius) Equality(CornerRadius, CornerRadius) Equality(CornerRadius, CornerRadius)

Compares the value of two CornerRadius structs for equality.

Inequality(CornerRadius, CornerRadius) Inequality(CornerRadius, CornerRadius) Inequality(CornerRadius, CornerRadius) Inequality(CornerRadius, CornerRadius)

Compares two CornerRadius structs for inequality.

Applies to