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!

ContainerControl Class

Defines a base class for controls that contain other controls.

Object
   MarshalByRefObject
      MarshalByRefComponent
         Control
            RichControl
               ScrollableControl
                  ContainerControl

[Visual Basic]
Public Class ContainerControl
   Inherits ScrollableControl
   Implements IContainerControl
[C#]
public class ContainerControl : ScrollableControl,
   IContainerControl
[C++]
public __gc class ContainerControl : public ScrollableControl,
   IContainerControl
[JScript]
public class ContainerControl extends ScrollableControl,
   IContainerControl

Remarks

This class implements focus management. Controls that inherit from this class can track the active control within their containment, even when actual focus moves somewhere within a different container.

You do not typically inherit from this class. Within the WinForms, the Form, UserControl, and up-down controls inherit from ContainerControl.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

ContainerControl Members | System.WinForms Namespace