System.Windows.Forms.CaptionButton Enumeration

Specifies the type of caption button to display.

Syntax

public enum CaptionButton

Remarks

This enumeration is used by ControlPaint.DrawCaptionButton(System.Drawing.Graphics, System.Drawing.Rectangle, CaptionButton, ButtonState).

Caption buttons are the system buttons usually found on the rightmost side of a form's title bar.

Members

Member NameDescription
Close

A Close button.

Help

A Help button.

Maximize

A Maximize button.

Minimize

A Minimize button.

Restore

A Restore button.

Requirements

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