CornerRadiusHelper CornerRadiusHelper CornerRadiusHelper CornerRadiusHelper Class

Definition

Provides basic utility methods for processing CornerRadius values. C# and Microsoft Visual Basic code should use methods of CornerRadius instead.

public : sealed class CornerRadiusHelper
struct winrt::Windows::UI::Xaml::CornerRadiusHelper
public sealed class CornerRadiusHelper
Public NotInheritable Class CornerRadiusHelper
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

CornerRadius is a Windows Runtime structure that represents a radius applied to one or all corners of a rectangular UI element. For example, Border.CornerRadius uses a CornerRadius value.

CornerRadiusHelper is one of several Helper classes that are intended to provide utility methods for Windows Runtime structure values. C# and Microsoft Visual Basic code can use members of CornerRadius instead, because utility members are available directly on the structure due to .NET Framework runtime support. C++ code can only access the data values on CornerRadius, for example the TopLeft field value. For C++ developers, approximately the same utility features that a Microsoft Visual Basic developer could use directly on CornerRadius are available in a static form on the CornerRadiusHelper class.

Methods

FromRadii(Double, Double, Double, Double) FromRadii(Double, Double, Double, Double) FromRadii(Double, Double, Double, Double) FromRadii(Double, Double, Double, Double)

Generates a CornerRadius value from element values. C# and Microsoft Visual Basic code should use the CornerRadius(Double,Double,Double,Double) constructor instead.

FromUniformRadius(Double) FromUniformRadius(Double) FromUniformRadius(Double) FromUniformRadius(Double)

Creates a new CornerRadius value that has a uniform radius value for each of its elements. C# and Microsoft Visual Basic code should use the CornerRadius(Double) constructor instead.

See also