Skip to main content
Version: 4.1

Component

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Extends Component and enables the components to appear on the designer surface.

public class Component : Component, IComponent

Constructors​

Instance member Component()​

Default constructor

Properties​

Protected member DesignMode​

Boolean: Returns a value that indicates whether the IComponent is currently in design mode.

Value: true if the IComponent is in design mode; otherwise, false.

Protected member Events​

EventHandlerList: Returns the list of event handlers that are attached to this Component.

Value: An EventHandlerList that provides the delegates for this component.

Methods​

Protected member AddHandler(key, handler)​

Adds a delegate to the handler list for the specified event key.

ParameterTypeDescription
keyObjectThe key identifier for the event.
handlerDelegateThe handler to add to the list.

Protected member AddHandler(key, handler, lazyEvent)​

Adds a delegate to the handler list for the specified event key.

ParameterTypeDescription
keyObjectThe key identifier for the event.
handlerDelegateThe handler to add to the list.
lazyEventBooleanIndicates that the event being attached is a lazy event and requires the component to be updated.

Protected member Dispose(disposing)​

Disposes the component and removes it from the design container.

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

Static member FromHandle(handle)​

Returns the component that is currently associated with the specified server-side id (handle).

ParameterTypeDescription
handleIntPtrThe handle to search for.

Returns: Component. The Menu associated with the specified handle; returns null if no menu with the specified handle is found.

Protected member RemoveHandler(key, handler)​

Removes a delegate from the handler list for the specified event key.

ParameterTypeDescription
keyObjectThe key identifier for the event.
handlerDelegateThe handler to add to the list.

Protected member RemoveHandler(key, handler, lazyEvent)​

Removes a delegate from the handler list for the specified event key.

ParameterTypeDescription
keyObjectThe key identifier for the event.
handlerDelegateThe handler to add to the list.
lazyEventBooleanIndicates that the event being detached is a lazy event and requires the component to be updated.

Instance member Update()​

Updates the component on the client.

Inherited By​

NameDescription
BindableComponentExtends Component and enables the component to participated if data binding operations and have their own DataBindings.
TimerImplements a timer that raises an event at user-defined intervals.
DesktopTaskBarItemRepresents a component in the Desktop control's taskbar.
DesktopTaskBarItemControlRepresents a component in the Desktop control's taskbar that can host any Control.
DesktopTaskBarItemDateTimeRepresents a DateTime component in the Desktop control's taskbar.
AnimationProvides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events.
ErrorProviderProvides a user interface for indicating that a control on a form has an error associated with it.
HelpTipRepresents a small rectangular pop-up window that displays a brief help text next to a control when it gets activated (focused).
JavaScriptAllows controls to execute javascript code.
RotationAdd rotation capabilities along the X,Y,Z axis to Control controls.
StyleSheetAdds CSS styling to controls.
ToolTipRepresents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.
ImageListProvides methods to manage a collection of Image objects. This class cannot be inherited.
ColumnHeaderDisplays a standard column header in a ListView control.
ImageColumnHeaderDisplays an image column header in a ListView control.
CheckedMenuItemRepresents an individual menu item that is displayed within a MainMenu or ContextMenu and always shows a checkbox next to the label.
ContextMenuRepresents a context menu associated to a Control.
LinkMenuItemRepresents an individual menu item that is displayed within a MainMenu or ContextMenu rendered using the <a> link element to let the browser process the specified HRef URL.
MainMenuRepresents the main menu in a Form.
MenuRepresents the base functionality for all menus.
MenuItemRepresents an individual item that is displayed within a MainMenu or ContextMenu.
StatusBarControlRepresents a panel in a StatusBar control that can host any Control.
StatusBarPanelRepresents a panel in a StatusBar control.
ToolBarButtonRepresents an item in the ToolBar.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.