ContainerControl

Wisej.Web.ContainerControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides focus-management functionality for controls that can function as a container for other controls.

public class ContainerControl : ScrollableControl, 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:

AutoScaleFactor

SizeF: Returns the scaling factor between the current and design-time automatic scaling dimensions.

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

Dispose(disposing)

Disposes the page and related resources.

Parameter
Type
Description

disposing

true when this method is called by the application rather than a finalizer.

FocusActiveControl()

Sets the focus to the active control.

OnAccelerator(e)

Fires the Accelerator event.

Parameter
Type
Description

e

A AcceleratorEventArgs that contains the event data.

OnAutoValidateChanged(e)

Fires the AutoValidateChanged event.

Parameter
Type
Description

e

A EventArgs that contains the event data.

OnCreateControl()

Raised when the control is created.

OnFontChanged(e)

Fires the FontChanged event.

Parameter
Type
Description

e

A EventArgs that contains the event data.

OnParentFontChanged(e)

Fires the FontChanged event when the Font property value of the control's container changes.

Parameter
Type
Description

e

An EventArgs that contains the event data.

OnRightToLeftLayoutChanged(e)

Fires the RightToLeftLayoutChanged event.

Parameter
Type
Description

e

A EventArgs that contains the event data.

OnWebEvent(e)

Processes the event from the client.

Parameter
Type
Description

e

Event arguments.

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

ProcessKeyPreview(e)

Processes a key event before the KeyDown and KeyUp events.

Parameter
Type
Description

e

A WisejEventArgs that contains the event data.

Returns: Boolean. true if the key event was processed by the control; otherwise false.

Select(directed, forward)

Activates a child control. Optionally specifies the direction in the tab order to select the control from.

Parameter
Type
Description

directed

true to specify the direction of the control to select; otherwise, false.

forward

true to move forward in the tab order; false to move backward in the tab order.

Returns: Control.

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

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

UI implementation for the FileDialog class.

UI implementation for the FolderDialog class.

Represents a window or dialog box that makes up an application's user interface.

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.

Represents a control consisting of a movable bar that divides a container's display area into two resizable panels.

Provides an empty control that can be used to create other controls.

Displays data in a customizable list format.

Represents a desktop container that can host floating windows.

Provides an popup container that can be attached to other controls.

Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

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

Controls that support drag & drop operations implement this interface.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?