Επεξεργασία

Κοινή χρήση μέσω


ContextMenuService.GetIsEnabled(DependencyObject) Method

Definition

Gets the value of the IsEnabled property of the specified object.

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

Parameters

element
DependencyObject

Object to query concerning the IsEnabled property.

Returns

Value of the IsEnabled property.

Attributes

Applies to