次の方法で共有


DialogPropertyValueEditor クラス

定義

PropertyEntry オブジェクトのすべてのダイアログ編集ロジックのコンテナー。

public ref class DialogPropertyValueEditor : System::Activities::Presentation::PropertyEditing::PropertyValueEditor
public class DialogPropertyValueEditor : System.Activities.Presentation.PropertyEditing.PropertyValueEditor
type DialogPropertyValueEditor = class
    inherit PropertyValueEditor
Public Class DialogPropertyValueEditor
Inherits PropertyValueEditor
継承
DialogPropertyValueEditor

注釈

DialogPropertyValueEditor クラスを使用して、関連付けられたダイアログ ボックス エディターを持つインライン エディターを表示します。

DialogPropertyValueEditor クラスは、ダイアログ ボックス エディターのDataTemplateまたはダイアログ ボックスが呼び出されたときに呼び出されるカスタム ロジックを保持できます。

DataTemplateEditModeSwitchButtonを使用して、カスタム DialogPropertyValueEditor クラスを呼び出します。

ホスト ダイアログ ボックスに表示される DataTemplate を指定することも、既存のダイアログ ボックスまたはシステム ダイアログ ボックスを再利用できるようにする ShowDialog() メソッドをオーバーライドすることもできます。

次の一覧は、 DataTemplate メソッドと ShowDialog() メソッドのどちらを使用するかを決定するための規則を示しています。

DialogEditorTemplate プロパティが null 参照 (Visual Basic では Nothing) でない場合、そのDataTemplateはホスト固有のダイアログ ボックスでホストされ、ホストスタイルが提供されます。 ShowDialog()は呼び出されません。

DialogEditorTemplate プロパティが null 参照 (Visual Basic では Nothing) の場合、仮想ShowDialog() メソッドが呼び出され、このメソッドをオーバーライドしてダイアログ ボックスを表示できます。

コンストラクター

名前 説明
DialogPropertyValueEditor()

特定のテンプレートを持たない DialogPropertyValueEditor クラスの新しいインスタンスを作成します。

DialogPropertyValueEditor(DataTemplate, DataTemplate)

指定したダイアログ エディターとインライン エディター テンプレートを使用して、 DialogPropertyValueEditor クラスの新しいインスタンスを作成します。

プロパティ

名前 説明
DialogEditorTemplate

ホスト固有のダイアログでホストされ、そのDataContextPropertyValueに設定されているDataTemplateを取得または設定します。

InlineEditorTemplate

インライン エディターに使用されるDataTemplateInlineEditorTemplateを取得または設定します。

(継承元 PropertyValueEditor)

メソッド

名前 説明
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ShowDialog(PropertyValue, IInputElement)

DialogEditorTemplateが null で、ユーザーによってダイアログが呼び出された場合に呼び出されます。

ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象