Partilhar via


ContextMenuService.SetIsEnabled(DependencyObject, Boolean) Método

Definição

Define o valor da propriedade IsEnabled do objeto especificado.

public:
 static void SetIsEnabled(System::Windows::DependencyObject ^ element, bool value);
public static void SetIsEnabled (System.Windows.DependencyObject element, bool value);
static member SetIsEnabled : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsEnabled (element As DependencyObject, value As Boolean)

Parâmetros

element
DependencyObject

O objeto no qual o valor deve ser definido.

value
Boolean

Valor a ser definido.

Aplica-se a