Share via


RibbonControlService.GetPressedBackground(DependencyObject) Metodo

Definizione

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

public:
 static System::Windows::Media::Brush ^ GetPressedBackground(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.Brush GetPressedBackground (System.Windows.DependencyObject element);
static member GetPressedBackground : System.Windows.DependencyObject -> System.Windows.Media.Brush
Public Shared Function GetPressedBackground (element As DependencyObject) As Brush

Parametri

element
DependencyObject

Oggetto da cui viene letto il valore della proprietà.

Restituisce

Brush

Il valore della proprietà PressedBackground dell'oggetto.

Eccezioni

Il valore specificato per il parametro element è null.

Si applica a