Share via


RibbonControlService.GetCheckedBorderBrush Method

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

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

Syntax

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

Parameters

Return Value

Type: System.Windows.Media.Brush
The object’s CheckedBorderBrush 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