ContextMenuService.GetHasDropShadow(DependencyObject) Methode

Definition

Ruft einen Wert ab, der angibt, ob der ContextMenu Schlagschatten aufweist.

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

Parameter

element
DependencyObject

Objekt, das abgefragt werden soll, ob es einen Schlagschatten hat.

Gibt zurück

Ein boolescher Wert, true wenn der ContextMenu Schlagschatten vorhanden ist; false andernfalls.

Attribute

Gilt für: