Language

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。

属性

適用対象