IWisejComponent

Wisej.Core.IWisejComponent

Namespace: Wisej.Core

Assembly: Wisej.Framework (2.2.0.0)

All wisej components implement this interface.

public interface IWisejComponent : IDisposable

Properties

Object: Stores the last configuration for the component.

Boolean: Indicates that the control is being rendered in the designer.

Rectangle: Returns or sets the design rectangle for the component when it is used as a child widget in a designable control.

Func<IWisejComponent, Object, String, Object>: Allows an external component to hook a filter method.

Components decides what filter to call and when and filter implementations must know what filter to process. There is no predefined list of filters, it's dynamic and it can change depending on the needs of the implementation. Currently there are these built in filters:

  • type = "Render" Invoked by Component after the configuration object has been filled. The return value is ignored. A filter can modify the passed in data dynamic object.

  • type = "GetPreferredSize" Invoked by Control after it has calculated the preferred size of the control with the property AutoSize set to true. The data object is a Size and the return value is the new preferred Size.

Int32: The unique server handle of the component.

String: The unique client id of the component.

Boolean: Indicates that the component needs to be updated on the client.

Boolean: Indicates that the component has been disposed.

Boolean: Returns or sets the new status.

Boolean: Indicates that the component is rendered at the top level on the client: the parent is the root.

Boolean: Locks UI updates to the control.

Object: Holds a reference to the session where this component lives.

Methods

Processes the event.

Returns a collection of referenced components or collection of components.

Renders the component into the config definition.

Updates the server component using the state information.

Updates the client widget.

Events

EventHandler Fired after the component has been updated.

Implemented By

Last updated