ContextMenuService.SetIsEnabled(DependencyObject, Boolean) Metoda

Definice

Nastaví hodnotu IsEnabled vlastnosti zadaného objektu.

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)

Parametry

element
DependencyObject

Objekt, na který se má nastavit hodnota.

value
Boolean

Hodnota, která se má nastavit.

Platí pro