Name

BoundsSpecified

Synopsis

You use this enumeration to specify to the Control.SetBounds() method which aspects of the Control object’s bounds you are setting. It is akin to the size and location related flags in the Win32 SetWindowPos() method.


public enum BoundsSpecified {

   None = 0x00000000,

   X = 0x00000001,

   Y = 0x00000002,

   Location = 0x00000003,

   Width = 0x00000004,

   Height = 0x00000008,

   Size = 0x0000000C,

   All = 0x0000000F

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) BoundsSpecified

Passed To

Control.{SetBounds(), SetBoundsCore()}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.