DialogPropertyValueEditor.DialogEditorTemplate, propriété

Mise à jour : novembre 2007

Obtient ou définit le DataTemplate qui est hébergé par une boîte de dialogue spécifique de l'hôte et dont DataContext est affecté à PropertyValue.

Espace de noms :  Microsoft.Windows.Design.PropertyEditing
Assembly :  Microsoft.Windows.Design (dans Microsoft.Windows.Design.dll)

Syntaxe

Public Property DialogEditorTemplate As DataTemplate

Dim instance As DialogPropertyValueEditor
Dim value As DataTemplate

value = instance.DialogEditorTemplate

instance.DialogEditorTemplate = value
public DataTemplate DialogEditorTemplate { get; set; }
public:
property DataTemplate^ DialogEditorTemplate {
    DataTemplate^ get ();
    void set (DataTemplate^ value);
}
public function get DialogEditorTemplate () : DataTemplate
public function set DialogEditorTemplate (value : DataTemplate)

Valeur de propriété

Type : System.Windows.DataTemplate

Objet DataTemplate qui correspond au modèle de cet éditeur de valeurs.

Notes

Si cette propriété retourne la valeur nullune référence null (Nothing en Visual Basic), la méthode ShowDialog est appelée.

Autorisations

Voir aussi

Référence

DialogPropertyValueEditor, classe

Membres DialogPropertyValueEditor

Microsoft.Windows.Design.PropertyEditing, espace de noms

PropertyEntry

PropertyValue

PropertyValueEditorCommands

IInputElement

Autres ressources

Architecture d'édition de propriété

Extensibilité du concepteur WPF