IWisejControl
Wisej.Core.IWisejControl
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
All wisej controls derived from the Control class must implement this interface.
C#
VB.NET
1
public interface IWisejControl : IWisejComponent, IDisposable, IComponent
Copied!
1
Public Interface IWisejControl
2
Inherits IWisejComponent, IDisposable, IComponent
Copied!

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
Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.
UI implementation for the FileDialog class.
UI implementation for the FolderDialog class.
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
Button
Represents a button control.
Implements the basic functionality common to button controls.
CheckBox
Represents a check box control.
Displays a ListBox in which a check box is displayed to the left of each item.
ComboBox
Represents a combo box control.
Provides focus-management functionality for controls that can function as a container for other controls.
Control
Base class for all Wisej controls.
Represents a control that allows the user to select or type a date and a time.
Represents a spinner control that displays string values.
Represents a panel that dynamically arranges its children 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.
Provides a common implementation of members for the ListBox and ComboBox classes.