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

适用于