DialogPropertyValueEditor.ShowDialog(PropertyValue, IInputElement) メソッド

定義

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

public:
 virtual void ShowDialog(System::Activities::Presentation::PropertyEditing::PropertyValue ^ propertyValue, System::Windows::IInputElement ^ commandSource);
public virtual void ShowDialog(System.Activities.Presentation.PropertyEditing.PropertyValue propertyValue, System.Windows.IInputElement commandSource);
abstract member ShowDialog : System.Activities.Presentation.PropertyEditing.PropertyValue * System.Windows.IInputElement -> unit
override this.ShowDialog : System.Activities.Presentation.PropertyEditing.PropertyValue * System.Windows.IInputElement -> unit
Public Overridable Sub ShowDialog (propertyValue As PropertyValue, commandSource As IInputElement)

パラメーター

propertyValue
PropertyValue

編集するプロパティの PropertyValue

commandSource
IInputElement

IInputElementの実行のソースとして使用できるPropertyValueEditorCommands

注釈

コマンドはホストによって処理されるため、カスタム ダイアログはそのビジュアル ツリーの一部にならないため、 commandSource はホストのビジュアル ツリーの一部である IInputElement を公開するため、プロパティ編集コマンドを正しく処理するように実行できます。 このメソッドをオーバーライドすると、既存のシステム ダイアログの呼び出しなどのカスタム ダイアログ ロジックを実装できます。

適用対象