共用方式為


PrintPreviewDialog.CancelButton 屬性

定義

取得或設定 PrintPreviewDialog 的取消按鈕。

public:
 property System::Windows::Forms::IButtonControl ^ CancelButton { System::Windows::Forms::IButtonControl ^ get(); void set(System::Windows::Forms::IButtonControl ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.IButtonControl CancelButton { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.IButtonControl? CancelButton { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.CancelButton : System.Windows.Forms.IButtonControl with get, set
Public Property CancelButton As IButtonControl

屬性值

允許控制項在表單中有和按鈕相同的作用。

屬性

備註

這個屬性與這個類別無關。

適用於