Condividi tramite


RibbonControlService.SetFocusedBackground(DependencyObject, Brush) Metodo

Definizione

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

public:
 static void SetFocusedBackground(System::Windows::DependencyObject ^ element, System::Windows::Media::Brush ^ value);
public static void SetFocusedBackground (System.Windows.DependencyObject element, System.Windows.Media.Brush value);
static member SetFocusedBackground : System.Windows.DependencyObject * System.Windows.Media.Brush -> unit
Public Shared Sub SetFocusedBackground (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