Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CornerRadius Struct
Definition
- Namespace:
- Windows.UI.Xaml
- Assembly:
- System.Runtime.WindowsRuntime.UI.Xaml.dll
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the characteristics of a rounded corner, such as can be applied to a Windows.UI.Xaml.Controls.Border.
public value class CornerRadius
[System.Security.SecurityCritical]
public struct CornerRadius
[<System.Security.SecurityCritical>]
type CornerRadius = struct
Public Structure CornerRadius
- Inheritance
- 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
Feedback
Was this page helpful?
