ContextMenuService.GetIsEnabled(DependencyObject) Metoda

Definice

Získá hodnotu IsEnabled vlastnosti zadaného objektu.

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

Parametry

element
DependencyObject

Objekt pro dotaz týkající se IsEnabled vlastnosti.

Návraty

Boolean

IsEnabled Hodnota vlastnosti.

Atributy

Platí pro