DialogPropertyValueEditor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新的類別實例 DialogPropertyValueEditor 。
多載
| 名稱 | Description |
|---|---|
| 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 A 是託管在主機專用對話框 Chrome 中,且DataContext其設定為PropertyValue對應被編輯屬性的 。
- inlineEditorTemplate
- DataTemplate
DataTemplate A 用於內嵌編輯器的使用者介面。 如果使用,它 DataContext 會被設定為 PropertyValue 對應被編輯屬性的 。