IWisejControl
Namespace: Wisej.Core
Assembly: Wisej.Framework (4.1.0.0)
All wisej controls derived from the Control class must implement this interface.
- C#
- VB.NET
public interface IWisejControl : IWisejComponent, IDisposable, IComponent
Public Interface IWisejControl
Inherits IWisejComponent, IDisposable, IComponent
Properties
AppearanceKey
String: Returns the theme appearance key.
Bounds
Rectangle: Returns or sets the control's boundaries.
Children
ICollection: Returns the children of the control or null if the control doesn't have children.
Created
Boolean: Returns whether the control has been created fully and it's ready to be sent to the client. A control is marked as Created after it has been made visible the first time.
DesignerTimeout
Int32: Returns the designer timeout in milliseconds.
Name
String: Returns the name of the window component.
Parent
IWisejControl: Returns or sets the parent control.
Platform
ClientPlatform: Returns the current application platform.
Size
Size: Returns or sets the control's size..
Theme
ClientTheme: Returns the current application theme.
Visible
Boolean: Returns or sets whether the control is visible.
Methods
Focus()
Moves the focus to the control.
Returns: Boolean.
SetDesignMetrics(metrics)
Sets the design-time metrics used by the designer to adapt the control on the screen to the HTML metrics used by the renderer.
| Parameter | Type | Description |
|---|---|---|
| metrics | Object | Design properties received from the renderer. |
Implemented By
| Name | Description |
|---|---|
| TableLayoutPanel | Represents a panel that dynamically lays out its contents in a grid composed of rows and columns. |
| FileDialogUI | UI implementation for the FileDialog class. |
| FolderBrowserDialogUI | UI implementation for the FolderDialog class. |
| BindingNavigator | Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source. |
| Button | Represents a button control. |
| ButtonBase | Implements the basic functionality common to button controls. |
| CheckBox | Represents a check box control. |
| CheckedListBox | Displays a ListBox in which a check box is displayed to the left of each item. |
| ComboBox | Represents a combo box control. |
| ContainerControl | Provides focus-management functionality for controls that can function as a container for other controls. |
| Control | Base class for all Wisej controls. |
| DateTimePicker | Represents a control that allows the user to select or type a date and a time. |
| DomainUpDown | Represents a spinner control that displays string values. |
| FlowLayoutPanel | Represents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns. |
| Form | Represents a window or dialog box that makes up an application's user interface. |
| GroupBox | Represents a Wisej control that displays a frame around a group of controls with an optional caption. |
| Label | Represents a label control. |
| LinkLabel | Represents an hyper-link control. |
| ListBox | Represents a control to display a list of items. |
| ListControl | Provides a common implementation of members for the ListBox and ComboBox classes. |
| MaskedTextBox | Uses a mask to distinguish between proper and improper user input. |
| MdiClient | Represents the container for multiple-document interface (MDI) child forms. |
| MonthCalendar | Represents a control that enables the user to select a date using a visual monthly calendar display. |
| NumericUpDown | Represents a spinner control that displays numeric values. |
| 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. |
| Panel | Represents a collapsible panel with an optional header that contains a group of controls. |
| PictureBox | Represents an image control. |
| ProgressBar | Represents a progress control that displays a value visually as a filled bar. |
| RadioButton | Enables the user to select a single option from a group of choices when paired with other RadioButton controls. |
| ScrollableControl | Defines a base class for controls that support auto-scrolling behavior. |
| HScrollBar | Represents an horizontal scroll bar. |
| VScrollBar | Represents a vertical scroll bar. |
| ScrollBar | Implements the basic functionality of a scroll bar control. |
| SplitContainer | Represents a control consisting of a movable bar that divides a container's display area into two resizable panels. |
| SplitterPanel | Creates a panel that is associated with a SplitContainer. |
| TabControl | Manages a related set of TabPage pages. |
| TabPage | Represents a single tab page in a TabControl. |
| TextBox | Represents a text box control that allows the user to enter any value. |
| TextBoxBase | Implements the basic functionality required by text controls. |
| TrackBar | Enables the user to choose between a range of values by sliding a small bar along another bar. |
| UpDownBase | Implements the basic functionality required by a spin box (also known as an up-down control). |
| UserControl | Provides an empty control that can be used to create other controls. |
| WebBrowser | Represents a web browser control that enables the user to navigate web pages inside a form or a page. |
| DataGridViewComboBoxEditingControl | Represents a ComboBox control that can be hosted in a DataGridViewComboBoxCell. |
| DataGridViewDateTimePickerEditingControl | Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell. |
| DataGridViewMaskedTextBoxEditingControl | Represents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell. |
| DataGridViewNumericUpDownEditingControl | Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell. |
| DataGridViewTextBoxEditingControl | Represents a TextBox control that can be hosted in a DataGridViewTextBoxCell cell when the cell's WrapMode is set to False. |
| DataGridView | Represents a data grid control. |
| DataRepeater | Displays data in a customizable list format. |
| DataRepeaterItem | Used by the DataRepeater control to display data at run time. |
| Desktop | Represents a desktop container that can host floating windows. |
| Accordion | Displays collapsible set of AccordionPanel panels for presenting information in a limited amount of space. |
| AccordionPanel | Represents a panel in a Accordion control. |
| AspNetPanel | Represents a control that can host ASP.NET or MVC pages within a Wisej application. |
| Canvas | Represents a drawing surface for immediate-mode 2D rendering, similar to the HTML5 Canvas API. |
| FlashPlayer | Represents a FlashPlayer control that can display flash applications. |
| FlexLayoutPanel | Represents a panel that dynamically arranges its child controls. |
| HtmlPanel | Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML. |
| IFramePanel | Represents a control that displays any HTML file in an IFrame element. |
| Line | Represents a line control. |
| ListViewComboBox | The TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel. |
| Media | Base implementation for media controls. |
| Video | Represents a Video control that displays a video file. |
| Audio | Represents a Audio control that plays an audio file. |
| PdfViewer | Represents 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. |
| Shape | Represents a shape control. Displays an element a border in any of the four sides. |
| SlideBar | Displays child controls vertically or horizontally in a scrollable container. |
| Spacer | Represents a spacer control. It can be used to add a space between controls in a layout panel. It is not rendered on the client. |
| SplitButton | Represents a split button control. |
| TagTextBox | Represents 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. |
| TimeUpDown | Represents a spinner control that displays TimeSpan values. |
| TreeViewComboBox | The TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel. |
| TypedTextBox | Represents a text box control that allows the user to enter a typed value. |
| Upload | Represent an upload widget. Allows users to selected one or more files and upload them to the server. |
| UserComboBox | The UserComboBox control represents a ComboBox control with a custom panel that drops down when the user clicks the down arrow. |
| UserPopup | Provides an popup container that can be attached to other controls. |
| Widget | Provides a generic widget that can use most third party javascript widgets. |
| ListView | Represents a list view control, which displays a collection of items that can be displayed using one of four different views. |
| MenuBar | Represents a menu bar component. |
| PropertyGrid | Provides a user interface for browsing the properties of an object. |
| StatusBar | Displays information to the user in a about the object being viewed, the object's components, or the object's operation. |
| ToolBar | Represents a toolbar component. |
| TreeView | Displays a hierarchical collection of labeled items, each represented by a TreeNode. |
| IWisejWindow | All wisej top-level windows implement this interface. |