Edit

Share via


PrintPreviewDialog.CancelButton Property

Definition

Gets or sets the cancel button for the 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

Property Value

Allows a control to act like a button on a form.

Attributes

Remarks

This property is not relevant for this class.

Applies to