Udostępnij za pośrednictwem


RibbonControlService.GetMouseOverBackground(DependencyObject) Metoda

Definicja

Pobiera wartość dołączonej MouseOverBackground właściwości dla obiektu.

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

Parametry

element
DependencyObject

Obiekt, z którego jest odczytywana wartość właściwości.

Zwraca

Wartość właściwości obiektu MouseOverBackground .

Wyjątki

Określona element wartość to null.

Dotyczy