Share via


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

ドロップ シャドウがあるかどうかに関して照会するオブジェクト。

戻り値

ブール値。ContextMenu にドロップ シャドウがある場合は true。それ以外の場合は false

属性

適用対象