共用方式為


RibbonControlService.SetCheckedBorderBrush(DependencyObject, Brush) 方法

定義

設定物件的 CheckedBorderBrush 附加屬性值。

public:
 static void SetCheckedBorderBrush(System::Windows::DependencyObject ^ element, System::Windows::Media::Brush ^ value);
public static void SetCheckedBorderBrush (System.Windows.DependencyObject element, System.Windows.Media.Brush value);
static member SetCheckedBorderBrush : System.Windows.DependencyObject * System.Windows.Media.Brush -> unit
Public Shared Sub SetCheckedBorderBrush (element As DependencyObject, value As Brush)

參數

element
DependencyObject

要寫入附加屬性的物件。

value
Brush

要設定的值。

例外狀況

指定的 elementnull

適用於