DialogPropertyValueEditor::ShowDialog Method (PropertyValue^, IInputElement^)
.NET Framework (current version)
Called when the DialogEditorTemplate is null and a dialog has been invoked by the user.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
public: virtual void ShowDialog( PropertyValue^ propertyValue, IInputElement^ commandSource )
Parameters
- propertyValue
-
Type:
System.Activities.Presentation.PropertyEditing::PropertyValue^
The PropertyValue for the property being edited.
- commandSource
-
Type:
System.Windows::IInputElement^
The T:System.Windows.IinputElement that can be used as a source for execution of PropertyValueEditorCommands.
Since the commands get handled by the host and since custom dialogs are not going to be part of that visual tree, the commandSource exposes an IInputElement that is part of the host's visual tree and that, therefore, can be used to execute property editing commands in such a way that they are handled correctly. Overriding this method enables you to implement any custom dialog logic, such as invoking existing system dialogs.
.NET Framework
Available since 4.0
Available since 4.0
Show: