DialogPropertyValueEditor 构造函数

定义

创建类的新实例 DialogPropertyValueEditor

重载

名称 说明
DialogPropertyValueEditor()

创建没有特定模板的 DialogPropertyValueEditor 类的新实例。

DialogPropertyValueEditor(DataTemplate, DataTemplate)

使用指定的对话框编辑器和内联编辑器模板创建类的新实例 DialogPropertyValueEditor

DialogPropertyValueEditor()

创建没有特定模板的 DialogPropertyValueEditor 类的新实例。

public:
 DialogPropertyValueEditor();
public DialogPropertyValueEditor();
Public Sub New ()

适用于

DialogPropertyValueEditor(DataTemplate, DataTemplate)

使用指定的对话框编辑器和内联编辑器模板创建类的新实例 DialogPropertyValueEditor

public:
 DialogPropertyValueEditor(System::Windows::DataTemplate ^ dialogEditorTemplate, System::Windows::DataTemplate ^ inlineEditorTemplate);
public DialogPropertyValueEditor(System.Windows.DataTemplate dialogEditorTemplate, System.Windows.DataTemplate inlineEditorTemplate);
new System.Activities.Presentation.PropertyEditing.DialogPropertyValueEditor : System.Windows.DataTemplate * System.Windows.DataTemplate -> System.Activities.Presentation.PropertyEditing.DialogPropertyValueEditor
Public Sub New (dialogEditorTemplate As DataTemplate, inlineEditorTemplate As DataTemplate)

参数

dialogEditorTemplate
DataTemplate

DataTemplate托管在特定于主机的对话部件版式中,其DataContext设置为PropertyValue与所编辑的属性相对应的属性。

inlineEditorTemplate
DataTemplate

用于内联编辑器用户界面的 A DataTemplate 。 如果使用,则将其 DataContext 设置为 PropertyValue 与所编辑的属性相对应的属性。

适用于