संपादित करें

इसके माध्यम से साझा किया गया


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
[<System.Security.SecurityCritical>]
type CornerRadius = struct
Public Structure CornerRadius
Inheritance
CornerRadius
Attributes

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) CornerRadius struct. For more information, see CornerRadius in the UWP API reference.

Constructors

CornerRadius(Double, Double, Double, Double)

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

CornerRadius(Double)

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

Properties

BottomLeft

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

BottomRight

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

TopLeft

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

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(CornerRadius)

Compares this CornerRadius struct to another CornerRadius structure for equality.

Equals(Object)

Compares this CornerRadius struct to another object for equality.

GetHashCode()

Returns the hash code of the structure.

ToString()

Returns the string representation of the CornerRadius structure.

Operators

Equality(CornerRadius, CornerRadius)

Compares the value of two CornerRadius structs for equality.

Inequality(CornerRadius, CornerRadius)

Compares two CornerRadius structs for inequality.

Applies to

See also