Specifies control functionality.
[Visual Basic] Public Enum ControlStyles [C#] public enum ControlStyles [C++] public enum ControlStyles
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Controls use this enumeration in various properties and methods to specify functionality.
Member Name | Description |
---|---|
ContainerControl | Indicates whether the control is a container-like control. |
FixedHeight | The control has a fixed height. |
FixedWidth | The control has a fixed width. |
Opaque | The control background is erased upon invalidation. |
ResizeRedraw | The control is completely redrawn when it is resized. |
Selectable | The control can get the focus. |
StandardClick | The control recieves standard click events. |
SupportsTransparentBackColor | BackColor may be set to colors whose alpha component is less than 255. (i.e., allows Color.A < 255). |
UserMouse | The control does its own mouse processing. |
UserPaint | The control paints itself. |
Namespace: System.WinForms
Assembly: System.WinForms.dll