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.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Property DialogEditorTemplate As DataTemplate
    Get
    Set
public DataTemplate DialogEditorTemplate { get; set; }
public:
property DataTemplate^ DialogEditorTemplate {
    DataTemplate^ get ();
    void set (DataTemplate^ value);
}
member DialogEditorTemplate : DataTemplate with get, set
function get DialogEditorTemplate () : DataTemplate
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

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValue

PropertyValueEditorCommands

IInputElement

Other Resources

Property Editing Architecture

WPF Designer Extensibility