NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control Class

Defines the base class for controls, which are components with visual representation.

Object
   MarshalByRefObject
      MarshalByRefComponent
         Control

[Visual Basic]
Public Class Control
   Inherits MarshalByRefComponent
   Implements IWin32Window
[C#]
public class Control : MarshalByRefComponent, IWin32Window
[C++]
public __gc class Control : public MarshalByRefComponent,
   IWin32Window
[JScript]
public class Control extends MarshalByRefComponent, IWin32Window

Remarks

This class implements very basic functionality required by classes that display to the user. It handles user input through the keyboard and pointing device. It handles message routing and security. It defines the bounds of a control-- its position and size-- although it does not implement painting. It provides a window handle (hWnd).

You do not typically inherit from this class. Within the WinForms, only RichControl inherits from Control.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

Control Members | System.WinForms Namespace