Språk

ContextMenuService.GetHasDropShadow(DependencyObject) Metod

Definition

Hämtar ett värde som anger om har ContextMenu en skuggning.

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

Parametrar

element
DependencyObject

Objekt för att fråga om den har en skuggning.

Returer

Ett booleskt värde, true om det ContextMenu har en skuggning, false annars.

Attribut

Gäller för