共用方式為


RibbonControlService.SetPressedBorderBrush(DependencyObject, Brush) 方法

定義

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

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

參數

element
DependencyObject

要寫入附加屬性的物件。

value
Brush

要設定的值。

例外狀況

指定的 elementnull

適用於