DesignerProperties.GetIsInDesignMode(DependencyObject) Metodo

Definizione

Ottiene il valore della proprietà associata IsInDesignMode per l'elemento UIElement specificato.

public:
 static bool GetIsInDesignMode(System::Windows::DependencyObject ^ element);
public static bool GetIsInDesignMode (System.Windows.DependencyObject element);
static member GetIsInDesignMode : System.Windows.DependencyObject -> bool
Public Shared Function GetIsInDesignMode (element As DependencyObject) As Boolean

Parametri

element
DependencyObject

Elemento da cui viene letto il valore della proprietà.

Restituisce

Boolean

Valore della proprietà IsInDesignMode dell'elemento.

Eccezioni

element è null.

Si applica a

Vedi anche