DekGenius.com
[ Team LiB ] Previous Section Next Section

BoundsSpecifiedserializable, flag

System.Windows.Forms (system.windows.forms.dll)enum

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()}

    [ Team LiB ] Previous Section Next Section