RibbonControlService.GetFocusedBorderBrush(DependencyObject) 方法

定义

获取对象的 FocusedBorderBrush 附加属性的值。

public:
 static System::Windows::Media::Brush ^ GetFocusedBorderBrush(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.Brush GetFocusedBorderBrush (System.Windows.DependencyObject element);
static member GetFocusedBorderBrush : System.Windows.DependencyObject -> System.Windows.Media.Brush
Public Shared Function GetFocusedBorderBrush (element As DependencyObject) As Brush

参数

element
DependencyObject

从中读取属性值的对象。

返回

Brush

对象的 FocusedBorderBrush 属性值。

例外

指定的 elementnull

适用于