แก้ไข

แชร์ผ่าน


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);
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);
static member ShowDialog : System.Activities.Presentation.Model.ModelItem * System.Activities.Presentation.Model.ModelItem * System.Activities.Presentation.EditingContext * System.Windows.DependencyObject * System.Activities.Presentation.DynamicArgumentDesignerOptions -> bool
Public Shared Function ShowDialog (activity As ModelItem, data As ModelItem, context As EditingContext, owner As DependencyObject, options As DynamicArgumentDesignerOptions) As Boolean

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