DynamicArgumentDialog.ShowDialog Method

Definition

Displays the dynamic argument dialog with OK and Cancel buttons and returns after the dialog is closed.

public static bool ShowDialog (System.Activities.Presentation.Model.ModelItem activity, System.Activities.Presentation.Model.ModelItem data, System.Activities.Presentation.EditingContext context, System.Windows.DependencyObject owner, System.Activities.Presentation.DynamicArgumentDesignerOptions options);

Parameters

activity
ModelItem

The activity associated with the dynamic argument dialog.

data
ModelItem

The data associated with the dynamic argument dialog.

context
EditingContext

The editing context associated with the dynamic argument dialog.

owner
DependencyObject

The owner of the dynamic argument dialog.

options
DynamicArgumentDesignerOptions

The options of the dynamic argument designer that contain the argument prefix and the designer title. The dynamic argument dialog contains the designer as its content.

Returns

true if the user accepted the dialog; false if the user cancelled the dialog.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1