System.Windows.Forms.PrintPreviewDialog.ControlBox Property

Gets or sets a value indicating whether a control box is displayed in the caption bar of the form.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.Browsable(false)]
public bool ControlBox { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the PrintPreviewDialog.ControlBox property is set to true, the control box is displayed in the upper-left corner of the caption bar. The control box is where the user can click to access the system menu.

Note:

If your form does not display a control box, the form is not able to close using the ALT+F4 keyboard combination.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0