Export (0) Print
Expand All
Expand Minimize

RibbonControlService.SetMouseOverBackground Method

.NET Framework 4

Sets the value of the MouseOverBackground attached property for an object.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

public static void SetMouseOverBackground(
	DependencyObject element,
	Brush value
)

Parameters

element
Type: System.Windows.DependencyObject
The object to which the attached property is written.
value
Type: System.Windows.Media.Brush
The value to set.

ExceptionCondition
ArgumentNullException

The specified element is null.

Show:
© 2014 Microsoft