Dela via


RibbonMenuItem.CheckedBackground Property

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

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

Syntax

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

Property Value

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

Dependency Property Information

Identifier field

CheckedBackgroundProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace