ContainerControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides focus-management functionality for controls that can function as a container for other controls.
- C#
- VB.NET
public class ContainerControl : ScrollableControl, IContainerControl, IContainerControl
Public Class ContainerControl
Inherits ScrollableControl
Implements IContainerControl, IContainerControl
Constructors
ContainerControl()
Initializes a new instance of the ContainerControl class.
Properties
Accelerators
Keys[]: Returns or sets a collection of keys that fire the Accelerator event when the user presses the accelerator key while the focus is on any child control. (Default: null)
ActiveControl
Control: Returns or sets the active control on the container control.
Throws:
- ArgumentException The Control assigned could not be activated.
BindingContext
BindingContext: Returns or sets the BindingContext for the control.
KeyPreview
Boolean: Returns or sets whether the container will receive key events before the event is passed to the control that has focus. (Default: False)
ParentForm
Form: Returns the Form that the container control is assigned to.
ParentPage
Page: Returns the Page that the container control is assigned to.
RightToLeftLayout
Boolean: Enables or disables right-to-left layout when the value of RightToLeft is Yes (Default: False)
Methods
Validate()
Validates the last unvalidated control and its ancestors up through, but not including the current control.
Returns: Boolean.
Validate(checkAutoValidate)
Validates the last unvalidated control and its ancestors up through, but not including the current control.
| Parameter | Type | Description |
|---|---|---|
| checkAutoValidate | Boolean | If true, the value of the AutoValidate property is used to determine if validation should be performed; if false, validation is unconditionally performed. |
Returns: Boolean.
Events
Accelerator
AcceleratorEventHandler Fired when one of the Accelerators key is pressed.
RightToLeftLayoutChanged
EventHandler Fired when the value of the RightToLeftLayout property changes.
Inherited By
| Name | Description |
|---|---|
| FileDialogUI | UI implementation for the FileDialog class. |
| FolderBrowserDialogUI | UI implementation for the FolderDialog class. |
| Form | Represents a window or dialog box that makes up an application's user interface. |
| 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 | Represents a control consisting of a movable bar that divides a container's display area into two resizable panels. |
| UserControl | Provides an empty control that can be used to create other controls. |
| DataRepeater | Displays data in a customizable list format. |
| Desktop | Represents a desktop container that can host floating windows. |
| UserPopup | Provides an popup container that can be attached to other controls. |
Implements
| Name | Description |
|---|---|
| IBindableComponent | Bindable components implement this interface. |
| IContainerControl | Provides the functionality for a control to act as a parent for other controls. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |