Share via


ContextMenuService.GetIsEnabled(DependencyObject) Método

Definição

Obtém o valor da propriedade IsEnabled do objeto especificado.

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

Parâmetros

element
DependencyObject

Objeto a ser consultado referente à propriedade IsEnabled.

Retornos

Valor da propriedade IsEnabled.

Atributos

Aplica-se a