# IContainerControl

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (3.0.0.0)

Provides the functionality for a control to act as a parent for other controls.

{% tabs %}
{% tab title="C#" %}

```csharp
public interface IContainerControl : IContainerControl
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Interface IContainerControl
    Inherits IContainerControl
```

{% endtab %}
{% endtabs %}

## Properties

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)ActiveControl

[Control](https://docs.wisej.com/api/v3.0/wisej.web/general/control): Returns or sets the control that is active on the container control.

## Methods

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)ActivateControl(control)

Activates a specified control.

| Parameter   | Type                                                                 | Description |
| ----------- | -------------------------------------------------------------------- | ----------- |
| **control** | [Control](https://docs.wisej.com/api/v3.0/wisej.web/general/control) |             |

**Returns:** [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean). true if the control is successfully activated; otherwise, false.

## Implemented By

| Name                                                                                                              | Description                                                                                                                                                           |
| ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [FileDialogUI](https://docs.wisej.com/api/v3.0/wisej.web/common-dialogs/wisej.web.filedialogui)                   | UI implementation for the FileDialog class.                                                                                                                           |
| [FolderBrowserDialogUI](https://docs.wisej.com/api/v3.0/wisej.web/common-dialogs/wisej.web.folderbrowserdialogui) | UI implementation for the FolderDialog class.                                                                                                                         |
| [ContainerControl](https://docs.wisej.com/api/v3.0/wisej.web/containers/containercontrol)                         | Provides focus-management functionality for controls that can function as a container for other controls.                                                             |
| [Form](https://docs.wisej.com/api/v3.0/wisej.web/containers/form)                                                 | Represents a window or dialog box that makes up an application's user interface.                                                                                      |
| [Page](https://docs.wisej.com/api/v3.0/wisej.web/containers/wisej.web.page)                                       | Represents a web page that fills the browser and acts as the main container for the application. An application can have only one active main page at any given time. |
| [SplitContainer](https://docs.wisej.com/api/v3.0/wisej.web/containers/splitcontainer)                             | Represents a control consisting of a movable bar that divides a container's display area into two resizable panels.                                                   |
| [UserControl](https://docs.wisej.com/api/v3.0/wisej.web/containers/wisej.web.usercontrol)                         | Provides an empty control that can be used to create other controls.                                                                                                  |
| [DataRepeater](https://docs.wisej.com/api/v3.0/wisej.web/containers/datarepeater)                                 | Displays data in a customizable list format.                                                                                                                          |
| [Desktop](https://docs.wisej.com/api/v3.0/wisej.web/containers/desktop)                                           | Represents a desktop container that can host floating windows.                                                                                                        |
| [UserPopup](https://docs.wisej.com/api/v3.0/wisej.web/containers/wisej.web.userpopup)                             | Provides an popup container that can be attached to other controls.                                                                                                   |
