語言

ContextMenuService.GetHasDropShadow(DependencyObject) 方法

定義

會得到一個值,表示是否有 ContextMenu 投影。

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

參數

element
DependencyObject

關於是否有投影的詢問。

傳回

若 有true陰影,則為布林值ContextMenu;false否則。

屬性

適用於