Język

ContextMenuService.GetHasDropShadow(DependencyObject) Metoda

Definicja

Pobiera wartość wskazującą, czy element ContextMenu ma cień.

public:
 static bool GetHasDropShadow(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetHasDropShadow(System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetHasDropShadow : System.Windows.DependencyObject -> bool
Public Shared Function GetHasDropShadow (element As DependencyObject) As Boolean

Parametry

element
DependencyObject

Obiekt zapytania dotyczącego tego, czy ma cień upuszczania.

Zwraca

Wartość logiczna, true jeśli ma ContextMenu cień false , w przeciwnym razie.

Atrybuty

Dotyczy