Skip to main content
Version: 3.5

IWisejComponent

Namespace: Wisej.Core

Assembly: Wisej.Framework (3.5.0.0)

All wisej components implement this interface.

public interface IWisejComponent : IDisposable

Properties

Instance memberConfiguration

Object: Stores the last configuration for the component.

Instance memberDesignMode

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

Instance memberDesignRect

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

Instance memberFilter

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.

Instance memberHandle

Int32: The unique server handle of the component.

Instance memberId

String: The unique client id of the component.

Instance memberIsDirty

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

Instance memberIsDisposed

Boolean: Indicates that the component has been disposed.

Instance memberIsNew

Boolean: Returns or sets the new status.

Instance memberIsTopLevel

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

Instance memberLocked

Boolean: Locks UI updates to the control.

Instance memberSession

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

Methods

Instance memberEvent(e)

Processes the event.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Instance memberReference(list)

Returns a collection of referenced components or collection of components.

ParameterTypeDescription
listIListList of referenced components or collection of components.

Instance memberRender(config)

Renders the component into the config definition.

ParameterTypeDescription
configObjectDynamic configuration object.

Instance memberUpdateComponent(state)

Updates the server component using the state information.

ParameterTypeDescription
stateObjectDynamic state object.

Instance memberUpdateWidget()

Updates the client widget.

Events

Instance memberUpdated

EventHandler Fired after the component has been updated.

Implemented By

NameDescription
TableLayoutPanelRepresents a panel that dynamically lays out its contents in a grid composed of rows and columns.
FileDialogUIUI implementation for the FileDialog class.
FolderBrowserDialogUIUI implementation for the FolderDialog class.
BindingNavigatorRepresents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
ButtonRepresents a button control.
ButtonBaseImplements the basic functionality common to button controls.
CheckBoxRepresents a check box control.
CheckedListBoxDisplays a ListBox in which a check box is displayed to the left of each item.
ComboBoxRepresents a combo box control.
BindableComponentExtends Component and enables the component to participated if data binding operations and have their own DataBindings.
ComponentExtends Component and enables the components to appear on the designer surface.
ContainerControlProvides focus-management functionality for controls that can function as a container for other controls.
ControlBase class for all Wisej controls.
DateTimePickerRepresents a control that allows the user to select or type a date and a time.
DomainUpDownRepresents a spinner control that displays string values.
FlowLayoutPanelRepresents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns.
FormRepresents a window or dialog box that makes up an application's user interface.
GroupBoxRepresents a Wisej control that displays a frame around a group of controls with an optional caption.
LabelRepresents a label control.
LinkLabelRepresents an hyper-link control.
ListBoxRepresents a control to display a list of items.
ListControlProvides a common implementation of members for the ListBox and ComboBox classes.
MaskedTextBoxUses a mask to distinguish between proper and improper user input.
MdiClientRepresents the container for multiple-document interface (MDI) child forms.
MessageBoxDisplays a message box that can contain text, buttons, and symbols that inform and instruct the user.
MonthCalendarRepresents a control that enables the user to select a date using a visual monthly calendar display.
NumericUpDownRepresents a spinner control that displays numeric values.
PageRepresents 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.
PanelRepresents a collapsible panel with an optional header that contains a group of controls.
PictureBoxRepresents an image control.
ProgressBarRepresents a progress control that displays a value visually as a filled bar.
RadioButtonEnables the user to select a single option from a group of choices when paired with other RadioButton controls.
ScrollableControlDefines a base class for controls that support auto-scrolling behavior.
HScrollBarRepresents an horizontal scroll bar.
VScrollBarRepresents a vertical scroll bar.
ScrollBarImplements the basic functionality of a scroll bar control.
SplitContainerRepresents a control consisting of a movable bar that divides a container's display area into two resizable panels.
SplitterPanelCreates a panel that is associated with a SplitContainer.
TabControlManages a related set of TabPage pages.
TabPageRepresents a single tab page in a TabControl.
TextBoxRepresents a text box control that allows the user to enter any value.
TextBoxBaseImplements the basic functionality required by text controls.
TimerImplements a timer that raises an event at user-defined intervals.
TrackBarEnables the user to choose between a range of values by sliding a small bar along another bar.
UpDownBaseImplements the basic functionality required by a spin box (also known as an up-down control).
UserControlProvides an empty control that can be used to create other controls.
WebBrowserRepresents a web browser control that enables the user to navigate web pages inside a form or a page.
DataGridViewButtonColumnRepresents a DataGridView column that contains a collection of DataGridViewButtonCell cells.
DataGridViewCheckBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.
DataGridViewColumnRepresents a column in a DataGridView control.
DataGridViewComboBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
DataGridViewComboBoxEditingControlRepresents a ComboBox control that can be hosted in a DataGridViewComboBoxCell.
DataGridViewDateTimePickerColumnRepresents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
DataGridViewDateTimePickerEditingControlRepresents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.
DataGridViewImageColumnRepresents a DataGridView column that contains a collection of DataGridViewImageCell cells.
DataGridViewLinkColumnRepresents a DataGridView column that contains a collection of DataGridViewLinkCell cells.
DataGridViewMaskedTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewMaskedTextBoxEditingControlRepresents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell.
DataGridViewNumericUpDownColumnRepresents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
DataGridViewNumericUpDownEditingControlRepresents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
DataGridViewTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewTextBoxEditingControlRepresents a TextBox control that can be hosted in a DataGridViewTextBoxCell cell when the cell's WrapMode is set to False.
DataGridViewRepresents a data grid control.
DataRepeaterDisplays data in a customizable list format.
DataRepeaterItemUsed by the DataRepeater control to display data at run time.
DesktopRepresents a desktop container that can host floating windows.
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.
AccordionDisplays collapsible set of AccordionPanel panels for presenting information in a limited amount of space.
AccordionPanelRepresents a panel in a Accordion control.
AlertBoxDisplays an alert box that can contain an icon and text that inform and instruct the user. Alert boxes are not modal and can disappear automatically.
AspNetPanelRepresents a control that can host ASP.NET or MVC pages within a Wisej application.
CanvasRepresents the HTML5 canvas element.
FlashPlayerRepresents a FlashPlayer control that can display flash applications.
FlexLayoutPanelRepresents a panel that dynamically arranges its child controls.
HtmlPanelRepresents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML.
IFramePanelRepresents a control that displays any HTML file in an IFrame element.
LineRepresents a line control.
ListViewComboBoxThe TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel.
MediaBase implementation for media controls.
VideoRepresents a Video control that displays a video file.
AudioRepresents a Audio control that plays an audio file.
PdfViewerRepresents a PdfViewer control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.
ShapeRepresents a shape control. Displays an element a border in any of the four sides.
SlideBarDisplays child controls vertically or horizontally in a scrollable container.
SpacerRepresents a spacer control. It can be used to add a space between controls in a layout panel. It is not rendered on the client.
SplitButtonRepresents a split button control.
TagTextBoxRepresents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.
TimeUpDownRepresents a spinner control that displays TimeSpan values.
ToastDisplays a toast that can contain an icon and text.
ComponentToolRepresent a tool widget that can be displayed inside another control. A tool widget is different from other child controls: it's displayed inside the parent's layout. For example, the Form control shows tool widgets inside the caption bar. When a tool widget is pressed, it fires the toolClicked event on the container.
TreeViewComboBoxThe TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel.
TypedTextBoxRepresents a text box control that allows the user to enter a typed value.
UploadRepresent an upload widget. Allows users to selected one or more files and upload them to the server.
UserComboBoxThe UserComboBox control represents a ComboBox control with a custom panel that drops down when the user clicks the down arrow.
UserPopupProvides an popup container that can be attached to other controls.
WidgetProvides a generic widget that can use most third party javascript widgets.
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.
ListViewRepresents a list view control, which displays a collection of items that can be displayed using one of four different views.
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.
MenuBarRepresents a menu bar component.
MenuItemRepresents an individual item that is displayed within a MainMenu or ContextMenu.
PropertyGridProvides a user interface for browsing the properties of an object.
StatusBarDisplays information to the user in a about the object being viewed, the object's components, or the object's operation.
StatusBarControlRepresents a panel in a StatusBar control that can host any Control.
StatusBarPanelRepresents a panel in a StatusBar control.
ToolBarRepresents a toolbar component.
ToolBarButtonRepresents an item in the ToolBar.
TreeNodeRepresents a node of a TreeView.
TreeViewDisplays a hierarchical collection of labeled items, each represented by a TreeNode.
ApplicationRepresent a Wisej application session. Provides methods and events to manage the application in the context of the current session.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejHandlerRepresents a Wisej component that is capable of handling postback requests from the client.
IWisejWindowAll wisej top-level windows implement this interface.
ComponentThe base class for Wisej components that are not controls. Wisej components are still managed on the client and the server but are not present on the designer surface. Examples of wisej components are: menu items, image lists, tree nodes, list items.