Condividi tramite


RibbonControlService.SetPressedBackground(DependencyObject, Brush) Metodo

Definizione

Imposta il valore della proprietà associata PressedBackground per un oggetto.

public:
 static void SetPressedBackground(System::Windows::DependencyObject ^ element, System::Windows::Media::Brush ^ value);
public static void SetPressedBackground (System.Windows.DependencyObject element, System.Windows.Media.Brush value);
static member SetPressedBackground : System.Windows.DependencyObject * System.Windows.Media.Brush -> unit
Public Shared Sub SetPressedBackground (element As DependencyObject, value As Brush)

Parametri

element
DependencyObject

Oggetto in cui viene scritta la proprietà associata.

value
Brush

Il valore da impostare.

Eccezioni

Il valore specificato per il parametro element è null.

Si applica a