共用方式為


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

適用於