共用方式為


DynamicArgumentDialog.ShowDialog 方法

定義

使用 [確定] 與 [取消] 按鈕,即可顯示動態引數對話方塊,並在關閉對話方塊時返回。

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

參數

activity
ModelItem

與動態引數對話方塊相關聯的活動。

data
ModelItem

與動態引數對話方塊相關聯的資料。

context
EditingContext

與動態引數對話方塊相關聯的編輯內容。

owner
DependencyObject

動態引數對話方塊的擁有者。

options
DynamicArgumentDesignerOptions

包含引數前置字元與設計工具標題的動態引數設計工具選項。 動態引數對話方塊的內容會包含設計工具。

傳回

如果使用者接受對話方塊,則為 true,否則為 false

適用於