Partilhar via


ContextMenuService.SetShowOnDisabled(DependencyObject, Boolean) Método

Definição

Define o valor da propriedade ShowOnDisabled do objeto especificado.

public:
 static void SetShowOnDisabled(System::Windows::DependencyObject ^ element, bool value);
public static void SetShowOnDisabled (System.Windows.DependencyObject element, bool value);
static member SetShowOnDisabled : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetShowOnDisabled (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