共用方式為


TaskDialogPage.Buttons 屬性

定義

取得或設定要在此頁面中顯示的按鈕集合。

public:
 property System::Windows::Forms::TaskDialogButtonCollection ^ Buttons { System::Windows::Forms::TaskDialogButtonCollection ^ get(); void set(System::Windows::Forms::TaskDialogButtonCollection ^ value); };
public System.Windows.Forms.TaskDialogButtonCollection Buttons { get; set; }
member this.Buttons : System.Windows.Forms.TaskDialogButtonCollection with get, set
Public Property Buttons As TaskDialogButtonCollection

屬性值

TaskDialogButtonCollection

要顯示在此頁面中的自訂按鈕集合。

例外狀況

已設定屬性,而且此頁面執行個體目前繫結至工作對話方塊。

適用於