Share via


RibbonControlService.PressedBackground Attached 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
See GetPressedBackground, SetPressedBackground
See GetPressedBackground, SetPressedBackground
See GetPressedBackground, SetPressedBackground
See GetPressedBackground, SetPressedBackground
See GetPressedBackground, SetPressedBackground

Property Value

Type: System.Windows.Media.Brush
The brush that is used to draw the background of the control when it is pressed. 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

PressedBackgroundProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonControlService Class

Microsoft.Windows.Controls.Ribbon Namespace