RibbonControlService.SetMouseOverBorderBrush(DependencyObject, Brush) 方法

定义

设置对象的 MouseOverBorderBrush 附加属性的值。

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

参数

element
DependencyObject

将附加属性写入到的对象。

value
Brush

要设置的值。

例外

指定的 elementnull

适用于