CornerRadiusHelper class

Applies to Windows and Windows Phone

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

Inheritance

Object
  CornerRadiusHelper

Syntax


public ref class CornerRadiusHelper sealed 

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The CornerRadiusHelper class inherits from Object and ICornerRadiusHelper. CornerRadiusHelper also has these types of members:

Methods

The CornerRadiusHelper class has these methods. It also inherits methods from the Object class.

MethodDescription
FromRadii Generates a CornerRadius value from element values. C# and Microsoft Visual Basic code should use CornerRadius(Double,Double,Double,Double) instead.
FromUniformRadius Creates a new CornerRadius value that has a uniform radius value for each of its elements. C# and Microsoft Visual Basic code should use CornerRadius(Double) instead.

 

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 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 Visual Basic developer could use directly on CornerRadius are available in a static form on the CornerRadiusHelper class.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows::UI::Xaml

Metadata

Windows.winmd

See also

CornerRadius
Border.CornerRadius

 

 

Show:
© 2014 Microsoft. All rights reserved.