System.Windows.Forms.BoundsSpecified Enumeration

Specifies the bounds of the control to use when defining a control's size and position.

Syntax

[System.Flags]
public enum BoundsSpecified

Remarks

Use the members of this enumeration when calling the Control.SetBoundsCore(int, int, int, int, BoundsSpecified) and Control.SetBounds(int, int, int, int) methods of the System.Windows.Forms.Control class.

Members

Member NameDescription
All

Both Control.Location and Control.Size property values are defined.

Height

The height of the control is defined.

Location

Both X and Y coordinates of the control are defined.

None

No bounds are specified.

Size

Both Control.Width and Control.Height property values of the control are defined.

Width

The width of the control is defined.

X

The left edge of the control is defined.

Y

The top edge of the control is defined.

Requirements

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