DynamicArgumentDialog.ShowDialog 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
顯示動態參數對話框,並有 確定 與 取消 按鈕,對話框關閉後返回。
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 如果使用者取消了對話。