Lingua

RibbonControlService.GetPressedBackground(DependencyObject) Metodo

Definizione

Ottiene il valore della PressedBackground proprietà associata 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à.

Valori restituiti

Valore della proprietà dell'oggetto PressedBackground .

Eccezioni

L'oggetto specificato element è null.

Si applica a