Share via


DialogPropertyValueEditor.DialogEditorTemplate Property

Gets or sets the DataTemplate that is hosted by a host-specific dialog box and has its DataContext set to a PropertyValue.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Property DialogEditorTemplate As DataTemplate
'Usage
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)

Property Value

Type: System.Windows.DataTemplate
The DataTemplate object that is the template for this value editor.

Remarks

If this property returns nulla null reference (Nothing in Visual Basic), the ShowDialog method is called instead.

.NET Framework Security

See Also

Reference

DialogPropertyValueEditor Class

DialogPropertyValueEditor Members

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValue

PropertyValueEditorCommands

IInputElement

Other Resources

Property Editing Architecture

WPF Designer Extensibility