JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the ContainerControl Class

The ContainerControl class is the base class of the System.Windows.Forms.UserControl class. Here is the inheritance hierarchy for this class:

Object
   MarshalByRefObject
      Component
         Control
            ScrollableControl
               ContainerControl

You can find the more notable public properties of the ContainerControl class in Table 24.3 and the more notable methods in Table 24.4. (This class has no noninherited events.) Note that as with other Windows controls, I am not listing the notable properties, methods, and events ContainerControl inherits from the Control class, such as the Click event—you can see all that in Chapter 5, Tables 5.1, 5.2, and 5.3.

Table 24.3: Noteworthy public properties of ContainerControl objects.

Property

Means

ActiveControl

Gets/sets the active control in this container.

ParentForm

Gets/sets the parent form of this container control.

Table 24.4: Noteworthy public methods of ContainerControl objects.

Method

Means

Validate

Validates the last invalidated control.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor