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, który ma zapytanie dotyczące tego, czy ma cień.

Zwraca

Boolean

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

Atrybuty

Dotyczy