Share via


ContextMenuService.GetHasDropShadow(DependencyObject) Yöntem

Tanım

gölgesinin ContextMenu olup olmadığını belirten bir değer alır.

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

Parametreler

element
DependencyObject

Gölgesi olup olmadığıyla ilgili sorgu nesnesi.

Döndürülenler

Bir Boole değeri, true gölgesi varsa ContextMenu , false değilse.

Öznitelikler

Şunlara uygulanır