DialogPropertyValueEditor Constructor (DataTemplate, DataTemplate)
Initializes a new instance of the DialogPropertyValueEditor class.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
dialogEditorTemplate As DataTemplate, _
inlineEditorTemplate As DataTemplate _
)
public DialogPropertyValueEditor(
DataTemplate dialogEditorTemplate,
DataTemplate inlineEditorTemplate
)
public:
DialogPropertyValueEditor(
DataTemplate^ dialogEditorTemplate,
DataTemplate^ inlineEditorTemplate
)
new :
dialogEditorTemplate:DataTemplate *
inlineEditorTemplate:DataTemplate -> DialogPropertyValueEditor
public function DialogPropertyValueEditor(
dialogEditorTemplate : DataTemplate,
inlineEditorTemplate : DataTemplate
)
Parameters
- dialogEditorTemplate
Type: System.Windows.DataTemplate
A DataTemplate that is hosted in a host-specific dialog box and has its DataContext set to the PropertyValue that corresponds to the property being edited.
- inlineEditorTemplate
Type: System.Windows.DataTemplate
A DataTemplate that is used for the inline editor. If used, its DataContext will be set to the PropertyValue that corresponds to the property being edited.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DialogPropertyValueEditor Class
DialogPropertyValueEditor Overload
Microsoft.Windows.Design.PropertyEditing Namespace