Ribbon.PressedBackground Property
Gets or sets the brush that is used to draw the background of Ribbon controls when they are in the Pressed state.
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 Ribbon controls when they are in the Pressed 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 |
|
Metadata properties set to true |
None |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.