Share via


Ribbon.MouseOverBackground Property

Gets or sets the brush that is used to draw the background of Ribbon controls when they are in the MouseOver state.

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

Syntax

'Declaration
Public Property MouseOverBackground As Brush
public Brush MouseOverBackground { get; set; }
public:
property Brush^ MouseOverBackground {
    Brush^ get ();
    void set (Brush^ value);
}
member MouseOverBackground : Brush with get, set
function get MouseOverBackground () : Brush
function set MouseOverBackground (value : Brush)

Property Value

Type: System.Windows.Media.Brush
The brush that is used to draw the background of Ribbon controls when they are in the MouseOver state. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

MouseOverBackgroundProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

Ribbon Class

Microsoft.Windows.Controls.Ribbon Namespace