Share via


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

承载在特定于宿主的对话框 chrome 中的 DataTemplate,其 DataContext 设置为与正在编辑的属性相对应的 PropertyValue

inlineEditorTemplate
DataTemplate

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

适用于