RibbonControlService.GetMouseOverBackground(DependencyObject) Metodo

Definizione

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

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

Parametri

element
DependencyObject

Oggetto da cui viene letto il valore della proprietà.

Restituisce

Brush

Il valore della proprietà MouseOverBackground dell'oggetto.

Eccezioni

Il valore specificato per il parametro element è null.

Si applica a