RibbonMenuItem.PressedBackground Property

Gets or sets the brush that is used to draw the background of the control when it is pressed.

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

Syntax

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

Property Value

Type: System.Windows.Media.Brush
The brush that is used to draw the background of the control when it is pressed.

Dependency Property Information

Identifier field

PressedBackgroundProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace