DialogPropertyValueEditor.ShowDialog(PropertyValue, IInputElement) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 を公開するため、プロパティ編集コマンドを正しく処理するように実行できます。 このメソッドをオーバーライドすると、既存のシステム ダイアログの呼び出しなどのカスタム ダイアログ ロジックを実装できます。