Share via


ContextMenuService.GetIsEnabled(DependencyObject) メソッド

定義

指定したオブジェクトの IsEnabled プロパティの値を取得します。

public:
 static bool GetIsEnabled(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetIsEnabled (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetIsEnabled : System.Windows.DependencyObject -> bool
Public Shared Function GetIsEnabled (element As DependencyObject) As Boolean

パラメーター

element
DependencyObject

IsEnabled プロパティについて照会するオブジェクト。

戻り値

Boolean

IsEnabled プロパティの値。

属性

適用対象