Share via


RibbonControlService.GetCornerRadius Method

Gets the value of the CornerRadius attached property for an object.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Shared Function GetCornerRadius ( _
    element As DependencyObject _
) As CornerRadius
public static CornerRadius GetCornerRadius(
    DependencyObject element
)
public:
static CornerRadius GetCornerRadius(
    DependencyObject^ element
)
static member GetCornerRadius : 
        element:DependencyObject -> CornerRadius 
public static function GetCornerRadius(
    element : DependencyObject
) : CornerRadius

Parameters

Return Value

Type: System.Windows.CornerRadius
The object’s CornerRadius property value.

Exceptions

Exception Condition
ArgumentNullException

The specified element is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

RibbonControlService Class

Microsoft.Windows.Controls.Ribbon Namespace