Control
Wisej.Web.Control
Last updated
Wisej.Web.Control
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Base class for all Wisej controls.
Initializes a new instance of the Control class.
String: Returns or sets the description that will be reported to accessibility client applications. It is assigned to the "alt" attribute of the browser element. (Default: null
)
String: Returns or sets the name of the control for use by accessibility client applications. It is assigned to the "name" attribute of the browser element. (Default: null
)
AccessibleRole: Returns or sets the accessible role of the control that will be reported to accessibility client applications. It is assigned to the "role" attribute of the browser element. (Default: Default
)
Boolean: Returns or sets whether the control can initiate a drag-drop operation. (Default: False
)
Boolean: Returns or sets whether the control can accept data that the user drags onto it. (Default: False
)
AnchorStyles: Returns or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. (Default: Top, Left
)
Boolean: Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents. (Default: False
)
String: Sets the appearance key for the theme engine. (Default: null
)
Color: Returns or sets the background color for the control.
Image: Returns or sets the background image displayed in the control. (Default: null
)
ImageLayout: Returns or sets the background image layout as defined in the ImageLayout enumeration. (Default: None
)
String: Returns or sets the background image displayed in the control. (Default: null
)
Boolean: Returns a flag indicating that the control is becoming the active control.
BindingContext: Returns or sets the BindingContext for the control.
Int32: Returns the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
Rectangle: Returns or sets the size and location of the control including its non-client area, in pixels and relative to the parent control.
Boolean: Determines whether the control can execute a command.
Boolean: Returns whether the control can receive focus.
Boolean: Returns whether the control can be selected.
Boolean: Returns or sets whether the control has captured the mouse.
Boolean: Returns or sets whether the control causes validation to be performed on controls that require to be validated when this control receives focus. (Default: True
)
ClientEventCollection: Returns a collection of client events and JavaScript listeners. You may attach multiple listeners to same event.
You can use this collection at design time or in code or through the listener methods:
Rectangle: Returns the client rectangle of the control.
Size: Returns or sets the height and width of the client area.
Boolean: Indicates whether the control, or one of its child controls, has the input focus.
ContextMenu: Returns or sets the shortcut menu associated with the control. (Default: null
)
ControlCollection: Returns the collection of controls contained within the control.
Boolean: Returns a value indicating whether the control has been created.
String: Returns or sets additional CSS class names to add to the widget.
Use this property to add or remove custom CSS classes that you may add to your application as standard css files or through the StyleSheet extender. You can assign multiple class names separated by a space and you can manage this property using the related methods:
String: Returns or sets the custom CSS styles to add to the widget.
You can use any CSS style string.
Cursor: Returns or sets the cursor that is displayed when the mouse pointer is over the control. (Default: null
)
ControlBindingsCollection: Returns the data bindings for the control.
Color: Returns the default background color of the control.
Font: Returns the default font of the control.
Color: Returns the default background color of the control.
Rectangle: Returns the rectangle that represents the virtual display area of the control.
Boolean: Returns whether the control is in the process of disposing itself and child controls.
DockStyle: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Default: None
)
Boolean: Returns or sets whether the control can respond to user interaction.
Boolean: Enables or disables the browser's context menu.
Boolean: Returns or sets whether the control can gain the focus. (Default: True
)
Boolean: Returns a value indicating whether the control has input focus.
Font: Gets or sets the font of the text displayed by the control.
Color: Returns or sets the text color of the control.
IntPtr: Returns the unique server-side id (handle) for this component.
Boolean: Returns whether the control contains any child control.
Boolean: Returns whether the control specifies data bindings.
Boolean: Check if the control defines any responsive profile without forcing the creation of the collection.
Boolean: Checks if the UserData dynamic object was created and has any value.
Int32: Returns or sets the height of the control.
String: Returns or sets an initialization script to execute when the widget is created (or reloaded) in the browser.
Use this property to add custom initialization JavaScript that is always executed when the client widget is created. The context (this) of the script is the instance of the widget. You can use the entire qooxdoo and wisej.js api. See #qx and wisej-js.
You may also use the init script to attach events to the widget or to its internal children. Event handlers can also be attached using the ClientEvents collection and the client events methods:
Boolean: Returns true when this control belogs to a session different than the currently executing thread.
Boolean: Returns whether the control has been disposed.
Boolean: Returns if the control has a server-side component id (handle) associated with it.
Boolean: Returns whether the control is mirrored.
LayoutEngine: Returns the control's layout engine.
Int32: Returns or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
Point: Returns or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Padding: Returns or sets the space between controls.
Size: Returns or sets the maximum size for the control.
Size: Returns or sets the minimum size for the control.
Keys: Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.
MouseButtons: Returns a value indicating which of the mouse buttons is in a pressed state.
Point: Returns the position of the mouse cursor in screen coordinates.
Boolean: Returns or sets whether the control can be moved by dragging.
String: Gets or sets the name of the control.
Padding: Returns or sets padding within the control.
Control: Returns or sets the parent container of the control.
Size: Returns the preferred size in which the control can fit.
AnchorStyles: Returns or sets the edges of the control that can be dragged to resize the control.
ResponsiveProfileCollection: Returns the collection of responsive properties that have been set for this control.
Int32: Return the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
RightToLeft: Returns or sets whether the control's elements are aligned right-to-left to support RTL languages.
When set to Inherit, the control inherits the value of this property from its parent. However, when the control is a top-level control (i.e. Window, Page, Desktop), and the value is set to Inherit, the right-to-left mode is automatically retrieved from the current language.
The behavior of this property is configurable in Default.json setting the "rightToLeft" property to "true", "false", or "auto". The default is "auto", causing the value to be retrieved from the current language.
Boolean: Returns or sets whether the text in the control can be selected in the browser by the user by dragging the pointer. Since 2.5.22 (Default: False
)
Not to be confused with Selectable, which corresponds to the Focusable property. When Selectable is set to true, the text of the control (i.e. a label or a button) can be highlighted in the browser and copied to the clipboard. It will also make the widget "focusable" but only in the browser.
Boolean: Returns or sets whether the control is blocked by the ajax loader. (Default: False
)
Size: Returns or sets the height and width of the control.
String[]: Returns or sets additional theme states to the client widget.
Use this property to manage additional custom states that you may want to add to a widget. The state will update the visualization of the widget using the styles and properties set in the current theme and loaded theme mixins. You can also force the usage of built-in states. However, this property will not return the current states of the widget as updated by the client browser. It only returns the states set by the application.
In addition to setting this property directly, you can also manage it using the related methods:
Int32: Returns or sets the tab order of the control within its container.
Boolean: Returns or sets whether the user can give the focus to this control using the TAB key and the Focusable property is set to true. (Default: True
)
Object: Returns or sets the object that contains data about the control. (Default: null
)
String: Returns or sets the text associated with this control. (Default: ""
)
When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with "<BR/>".
String: Returns or sets the tooltip text to show for this control. (Default: ""
)
When using ToolTipText property you can only set the ToolTip text and cannot change the default ToolTip icon set in the theme. To change the ToolTip icon you can either create a custom theme, or a theme mixin, or use the ToolTip extender and the ToolTipText property added by the extender. You can change the default ForeColor, AutomaticDelay, InitialDelay, AutoPopDelay, or enable HTML in ToolTipText by using a ToolTip extender also without setting the ToolTipText property added by the extender.
Int32: Returns or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
Control: Returns the parent control that is not parented by another Form. Typically, this is the outermost Form that the control is contained in.
Object: Returns a dynamic object that can be used to store custom data in relation to this control.
Boolean: Returns or sets whether to use the wait cursor for the current control and all child controls. (Default: False
)
Boolean: Returns a flag indicating that the validation has been canceled.
Boolean: Returns or sets whether the control and all its child controls are displayed.
Int32: Returns a value indicating the wheel delta from the last wheel event.
Int32: Returns or sets the width of the control.
Adds a new listener script to the event name to the client widget.
Parameter | Type | Description |
---|---|---|
name | Name of the client event to attach the listener to. | |
script | JavaScript code to execute when the event occurs. |
Returns: Int32. An integer id that you can use to remove the listener from the event using RemoveClientEventListener or to retrieve the listener script code using GetClientEventListener.
The script will execute in the browser when the event name occurs. You can attach multiple listeners to the same event.
Adds the CSS class name to the widget element. If the class already exists in the CssClass it's not added.
Parameter | Type | Description |
---|---|---|
name | Name of the css class to add. |
Returns: String. The new value of the CssClass property.
Adds the specified theme state to the widget.
Parameter | Type | Description |
---|---|---|
state | Name of the custom state to add to the widget. |
Returns: String[]. The new list of states stored in the States property.
You can also assign a new array of states to the States property.
Executes the specified delegate asynchronously, in the context of the session that owns the control.
Parameter | Type | Description |
---|---|---|
method | A delegate to a method that takes no parameters. |
Returns: IAsyncResult. An IAsyncResult that represents the result of the BeginInvoke operation.
Executes the specified delegate asynchronously, in the context of the session that owns the control, with the specified list of arguments.
Parameter | Type | Description |
---|---|---|
method | A delegate to a method that takes no parameters. | |
args | An optional array of objects to pass as arguments to the specified method. |
Returns: IAsyncResult. An IAsyncResult that represents the result of the asynchronous call.
Brings the control to the front of the z-order.
Runs the JavaScript function within the component's context in the browser.
Parameter | Type | Description |
---|---|---|
function | The name of the JavaScript function to execute. | |
args | The arguments to pass to the function. |
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
Parameter | Type | Description |
---|---|---|
function | The name of the JavaScript function to execute. | |
callback | Asynchronous callback method that receives the return value. | |
args | The arguments to pass to the function. |
Asynchronously runs the JavaScript function within the component's context in the browser and returns an awaitable Task containing the value returned by the remote call.
Parameter | Type | Description |
---|---|---|
function | The name of the JavaScript function to execute. | |
args | The arguments to pass to the function. |
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Centers the position of the control within the bounds of the parent.
Centers the position of the control within the bounds of the parent either horizontally, vertically or both.
Indicates whether the specified control is a child of this control.
Returns: Boolean. true if the specified control is a child of the control; otherwise, false.
Creates and register this control and all its children.
Begins a drag-and-drop operation.
Parameter | Type | Description |
---|---|---|
data | The data to drag. | |
allowedEffects | One of the DragDropEffects values. |
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Parameter | Type | Description |
---|---|---|
data | The data to drag. | |
allowedEffects | One of the DragDropEffects values. | |
imageSource | The name or URL for an image to use as the drag cursor. |
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Parameter | Type | Description |
---|---|---|
data | The data to drag. | |
allowedEffects | One of the DragDropEffects values. | |
imageSource | The name or URL for an image to use as the drag cursor. | |
imageSize | The size of the drag image specified in imageSource. |
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Parameter | Type | Description |
---|---|---|
data | The data to drag. | |
allowedEffects | One of the DragDropEffects values. | |
image | An Image to use as the drag cursor. |
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Parameter | Type | Description |
---|---|---|
data | The data to drag. | |
allowedEffects | One of the DragDropEffects values. | |
image | An Image to use as the drag cursor. | |
imageSize | The size of the drag image specified in image. |
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Retrieves the return value from the asynchronous operation represented by asyncResult .
Parameter | Type | Description |
---|---|---|
asyncResult | An IAsyncResult that represents a BeginInvoke operation started on a control. |
Returns: Object. The return value from the asynchronous operation.
Runs the javaScript code within the component's context in the browser.
Parameter | Type | Description |
---|---|---|
javaScript | The JavaScript code to run on the client. |
Runs the javaScript code within the component's context in the browser and returns the value to the callback method.
Parameter | Type | Description |
---|---|---|
javaScript | The JavaScript code to evaluate on the client. | |
callback | Asynchronous callback method that receives the return value. |
Asynchronously runs the javaScript code within the component's context in the browser and returns an awaitable Task that contains the value returned by the remote call.
Parameter | Type | Description |
---|---|---|
javaScript | The JavaScript code to evaluate on the client. |
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Retrieves the form that the control is on.
Returns: Form.
Retrieves the page that the control is on.
Returns: Page.
Sets input focus to the control.
Returns: Boolean. true if the input focus request was successful; otherwise, false.
Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
Parameter | Type | Description |
---|---|---|
pt | A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area. | |
skipValue | One of the values of GetChildAtPointSkip, determining whether to ignore child controls of a certain type. |
Returns: Control. The child Control at the specified coordinates.
Retrieves the child control that is located at the specified coordinates.
Parameter | Type | Description |
---|---|---|
pt | A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area. |
Returns: Control. A Control that represents the control that is located at the specified point.
Returns the script associated to the listener identified by id .
Parameter | Type | Description |
---|---|---|
id | Id of the listener to retrieve the script for. |
Returns: String. JavaScript associated with the listener.
Returns the scripts for all the listeners attached to the event name .
Parameter | Type | Description |
---|---|---|
name | Name of the event. |
Returns: String[]. String array containing the scripts for the listeners attached to the event.
Returns the next IContainerControl up the control's chain of parents.
Returns: IContainerControl. The parent IContainerControl.
Retrieves the next control forward or back in the tab order of child controls.
Parameter | Type | Description |
---|---|---|
control | The Control to start the search with. | |
forward | true to search forward in the tab order; false to search backward. |
Returns: Control. The next Control in the tab order.
Retrieves the value of the specified control style bit for the control.
Parameter | Type | Description |
---|---|---|
flag | The ControlStyles bit to return the value from. |
Returns: Boolean. true if the specified control style bit is set to true; otherwise, false.
Checks whether the specified event name has any listener attached.
Parameter | Type | Description |
---|---|---|
name | Name of the client event to verify. |
Returns: Boolean. True if the event name has any listener attached.
Returns true if the property CssClass contains the specified class name .
Parameter | Type | Description |
---|---|---|
name | Css class name to verify. |
Returns: Boolean. True of the css class name is already included in CssClass.
Checks whether the specified theme state is present in the States property.
Parameter | Type | Description |
---|---|---|
state | Name of the state to check. |
Returns: Boolean. True if the widget already has the state .
Conceals the control from the user.
Causes the control to update the client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Causes the control to update the client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Parameter | Type | Description |
---|---|---|
invalidateChildren | When true, invalidates all the children of the control. |
Executes the specified delegate, in the context of the session that owns the control.
Parameter | Type | Description |
---|---|---|
method | A delegate that contains a method to be called in the control's session context. |
Returns: Object. The return value from the delegate being invoked, or null if the delegate has no return value.
Executes the specified delegate, in the context of the session that owns the control, with the specified list of arguments.
Parameter | Type | Description |
---|---|---|
method | A delegate to a method that takes parameters of the same number and type that are contained in the args parameter. | |
args | An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments. |
Returns: Object. An Object that contains the return value from the delegate being invoked, or null if the delegate has no return value.
Determines whether the specified character is the mnemonic character.
Returns: Boolean. true if the charCode character is the mnemonic character; otherwise, false.
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Parameter | Type | Description |
---|---|---|
dock | Indicates whether to arrange the Controls horizontally or vertically. | |
Spacing between the Controls. | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Parameter | Type | Description |
---|---|---|
dock | Indicates whether to arrange the Controls horizontally or vertically. | |
viewArea | Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle. | |
Spacing between the Controls. | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Parameter | Type | Description |
---|---|---|
controls | List of child controls to arrange. If null, all the children will be arranged. | |
dock | Indicates whether to arrange the Controls horizontally or vertically. | |
Spacing between the Controls. | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Parameter | Type | Description |
---|---|---|
controls | List of child controls to arrange. If null, all the children will be arranged. | |
dock | Indicates whether to arrange the Controls horizontally or vertically. | |
viewArea | Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle. | |
Spacing between the Controls. | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Arranges all the child Control in the specified direction , spaced by spacing pixels.
Parameter | Type | Description |
---|---|---|
direction | Indicates whether to arrange the Controls horizontally or vertically. | |
Spacing between the Controls. | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Horizontal alignment when using direction = Vertical. | ||
Vertical alignment when using direction = Horizontal. |
Arranges all the child Control in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .
Parameter | Type | Description |
---|---|---|
direction | Indicates whether to arrange the Controls horizontally or vertically. | |
viewArea | Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle. | |
Spacing between the Controls. | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Horizontal alignment when using direction = Vertical. | ||
Vertical alignment when using direction = Horizontal. |
Arranges the specified child controls in the specified direction , spaced by spacing pixels.
Parameter | Type | Description |
---|---|---|
controls | List of child controls to arrange. If null, all the children will be arranged. | |
direction | Indicates whether to arrange the controls horizontally or vertically. | |
Spacing between the controls . | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Horizontal alignment when using direction = Vertical. | ||
Vertical alignment when using direction = Horizontal. |
Throws:
ArgumentException One of the controls is not a child of this control.
Arranges the specified child controls in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .
Parameter | Type | Description |
---|---|---|
controls | List of child controls to arrange. If null, all the children will be arranged. | |
direction | Indicates whether to arrange the controls horizontally or vertically. | |
viewArea | Rectangle limiting the area to arrange the controls in. If empty, it will use DisplayRectangle. | |
Spacing between the controls . | ||
When true (default), it will also use the Margin to arrange the controls. | ||
Horizontal alignment when using direction = Vertical. | ||
Vertical alignment when using direction = Horizontal. |
Throws:
ArgumentException One of the controls is not a child of this control.
Forces the control to apply layout logic to all its child controls.
Forces the control to apply layout logic to all its child controls.
Parameter | Type | Description |
---|---|---|
affectedControl | A Control that represents the recently changed control. | |
affectedProperty | The name of the recently changed property on the control that caused the layout to change. |
Computes the location of the specified screen point into client coordinates.
Returns: Point. A Point that represents the converted Point, point , in client coordinates.
Computes the location of the specified client point into screen coordinates.
Returns: Point. A Point that represents the converted Point, point , in screen coordinates.
Computes the size and location of the specified screen rectangle in client coordinates.
Returns: Rectangle. A Rectangle that represents the converted Rectangle, rect , in client coordinates.
Computes the size and location of the specified client rectangle in screen coordinates.
Returns: Rectangle. A Rectangle that represents the converted Rectangle, rect , in screen coordinates.
Forces the control to update corresponding client widget. When in DesignMode it forces a full redraw of the designer surface for this control, including the non-client areas such as the caption of forms or panels.
Forces the control to update the corresponding client widget. When in DesignMode it forces a full redraw of the designer surface for this control and optionally of its children, including the non-client areas such as the caption of forms or panels.
Parameter | Type | Description |
---|---|---|
refreshChildren | True to also refresh all the children of this control. |
Detaches and removes the listener identified by id .
Parameter | Type | Description |
---|---|---|
id | Id of the listener to remove. |
Returns: Boolean. True if the id specified a valid lister and it was removed; otherwise false if id is invalid.
Removes all the listeners attached to the event name .
Parameter | Type | Description |
---|---|---|
name | Name of the event. |
Returns: Boolean. True if the event name has any listener that was removed.
Removes the specified css class name from the control's CssClass property.
Parameter | Type | Description |
---|---|---|
name | The css class name to remove. |
Returns: String. The new value of the CssClass property.
Removes the specified theme state from the widget.
Parameter | Type | Description |
---|---|---|
state | Name of the state to remove. |
Returns: String[]. The new list of states stored in the States property.
You can also assign a new array of states to the States property.
Removes all the data bindings from the control.
Resumes layout logic.
Resumes layout logic, optionally forcing an immediate layout of all pending layout requests.
Parameter | Type | Description |
---|---|---|
performLayout | true to apply all pending layout requests; otherwise, false. |
Scrolls the control into view in the container using the specified alignX and alignY preferences.
Parameter | Type | Description |
---|---|---|
alignX | Indicates the HorizontalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Center will not scroll the control to the center, but will instead scroll it into the closest visible location with the minimum movement. | |
alignY | Indicates the VerticalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Middle will not scroll the control to the middle, but will instead scroll it into the closest visible location with the minimum movement. |
Scrolls the child control into view.
Activates a control.
Activates the next control in the list according to the specified selection rules.
Parameter | Type | Description |
---|---|---|
control | The Control at which to start the search. | |
forward | true to move forward in the tab order; false to move backward in the tab order. | |
tabStopOnly | true to ignore the controls with the TabStop property set to false; otherwise, false. | |
nested | true to include nested (children of child controls) child controls; otherwise, false. | |
wrap | true to continue searching from the first control in the tab order after the last control has been reached; otherwise, false. |
Returns: Boolean. true if a control was activated; otherwise, false.
Sends the control to the back of the z-order.
Sets the bounds of the control to the specified location and size.
Parameter | Type | Description |
---|---|---|
x | The new Left property value of the control. | |
y | The new Top property value of the control. | |
width | The new Width property value of the control. | |
height | The new Height property value of the control. |
Sets the specified bounds of the control to the specified location and size.
Parameter | Type | Description |
---|---|---|
x | The new Left property value of the control. | |
y | The new Top property value of the control. | |
width | The new Width property value of the control. | |
height | The new Height property value of the control. | |
specified | A bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used. |
Displays the control to the user.
Suspends the layout logic for the control.
Causes the control to update the corresponding client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Validates all selectable child controls in the container, including descendants. This is equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See Selectable for details of exactly which child controls will be validated.
Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.
Validates all the child controls in the container. Exactly which controls are validated and which controls are skipped is determined by flags .
Parameter | Type | Description |
---|---|---|
flags |
Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.
EventHandler Fired after the control has been fully rendered on the client.
This is a "lazy" event. It fires only when there is an handler attached to it, otherwise the companion On{Name} protected method is not invoked. It's enough to attach to either one of Appear or Disappear to enable both events.
EventHandler Fired when the AutoSize property value changes.
EventHandler Fired when the value of the BackColor property changes.
EventHandler Fired when the value of the BackgroundImage property changes.
EventHandler Fired when the BackgroundImageLayout property changes.
EventHandler Fired when the value of the BecomingActiveControl property changes.
EventHandler Occurs when the value of the BindingContext property changes.
EventHandler Fired when the value of the CausesValidation property changes.
EventHandler Fired when the control is clicked.
EventHandler Fired when the ClientSize property value changes.
EventHandler Fired when the value of the ContextMenu property changes.
ControlEventHandler Fired when a new control is added to the ControlCollection.
EventHandler Fired when a control is made visible the first time, fully created and sent to the client.
ControlEventHandler Fired when a control is removed from the ControlCollection.
EventHandler Fired when the value of the Cursor property changes.
EventHandler Fired after the control is no longer visible on the client.
This is a "lazy" event. It fires only when there is an handler attached to it, otherwise the companion On{Name} protected method is not invoked. It's enough to attach to either one of Appear or Disappear to enable both events.
EventHandler Fired when the component is disposed.
EventHandler Fired when the value of the Dock property changes.
EventHandler Fired when the control is double-clicked.
DragEventHandler Fired when a drag-and-drop operation is completed.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when a drag-drop operation is terminated either by a drop or canceled.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
DragEventHandler Fired when an object is dragged into the control's bounds.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when an object is dragged out of the control's bounds.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
DragEventHandler Fired when an object is dragged over the control's bounds.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when a drag-drop operation is started by the user.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the Enabled property value has changed.
EventHandler Fired when a control is Movable and the user ends the move operation.
This event fires only when Movable is true and the user moves the widget on the client. It doesn't fire when the Location property changes.
EventHandler Fired when a control has ResizableEdges and the user ends the resize operation.
This event fires only when the ResizableEdges has a value different than None and the user resizes the widget on the client. It doesn't fire when the Size of the control changes.
EventHandler Fired when the control gains the input focus.
EventHandler Fired when the Font property value changes.
EventHandler Fired when the ForeColor property value changes.
EventHandler Fired when the control gains the focus.
HelpEventHandler Fired when the user requests help for a control by pressing F1.
EventHandler Fired when the ImeMode property has changed.
KeyEventHandler Fired when a key is pressed while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
KeyPressEventHandler Fired when a key is pressed while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
KeyEventHandler Fired when a key is released while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
LayoutEventHandler Fired when a control should reposition its child controls.
EventHandler Fired when the control loses the input focus.
EventHandler Fired when the Location property value has changed.
EventHandler Fired when a pointer holds on the screen.
EventHandler Fired when the control loses focus.
EventHandler Fired when the control's margin changes.
EventHandler Fired when the control loses mouse capture.
MouseEventHandler Fired when the control is clicked by the mouse.
MouseEventHandler Fired when the control is double clicked by the mouse.
MouseEventHandler Fired when the mouse pointer is over the control and a mouse button is pressed.
EventHandler Fired when the mouse pointer enters the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the mouse pointer rests on the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the mouse pointer leaves the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
MouseEventHandler Fired when the mouse pointer is moved over the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
MouseEventHandler Fired when the mouse pointer is over the control and a mouse button is released.
MouseEventHandler Fired when the mouse wheel moves while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the control's padding changes.
PaintEventHandler Fired when a UserPaint control needs to redraw itself.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the Parent property value changes.
PinchEventHandler Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
PreviewKeyDownEventHandler Fired before the KeyDown event when a key is pressed while focus is on this control.
QueryContinueDragEventHandler Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the control is resized.
ResponsiveProfileChangedEventHandler Fired when the active responsive profile is changed.
EventHandler Fired when the RightToLeft property value changes.
RotateEventHandler Fired when two finger moved around a single point. It contains the angle of the rotation.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the Size property value changes.
EventHandler Fired when a control is Movable and the user begins the move operation.
This event fires only when Movable is true and the user begins moving the widget on the client.
EventHandler Fired when a control has ResizableEdges and the user begins the resize operation.
This event fires only when the ResizableEdges has a value different than None and the user begins resizing the widget on the client.
EventHandler Fired when the control style changed.
SwipeEventHandler Fired when a pointer swipes over the screen.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the TabIndex property value has changed.
EventHandler Fired when the value of the TabStop property changes.
EventHandler Fired when a pointer taps on the screen.
EventHandler Fired when the Text property value changes.
TouchEventHandler Fired when a touch point has been disrupted in an implementation-specific manner (for example, too many touch points are created).
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TouchEventHandler Fired when a touch point is removed from the touch surface.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TouchEventHandler Fired when a touch point is moved along the touch surface.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TouchEventHandler Fired when a touch point is placed on the touch surface.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TrackEventHandler Fired when a pointer grabs an item and moves the pointer on it.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the control is finished validating.
CancelEventHandler Fired when the control is validating.
EventHandler Fired when the Visible property value changes.
WidgetEventHandler Fired when the control receives a custom event from the client.
JavaScript code can fire any event back to a control, including custom data, using:
On the server side, the event name and event data are available in the WidgetEvent handler:
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. | |
Represents a button control. | |
Implements the basic functionality common to button controls. | |
Represents a check box control. | |
Displays a ListBox in which a check box is displayed to the left of each item. | |
Represents a combo box control. | |
Provides focus-management functionality for controls that can function as a container for other 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. | |
Represents a window or dialog box that makes up an application's user interface. | |
Represents a Wisej control that displays a frame around a group of controls with an optional caption. | |
Represents a label control. | |
Represents an hyper-link control. | |
Represents a control to display a list of items. | |
Uses a mask to distinguish between proper and improper user input. | |
Represents the container for multiple-document interface (MDI) child forms. | |
Represents a control that enables the user to select a date using a visual monthly calendar display. | |
Represents a spinner control that displays numeric values. | |
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. | |
Represents a collapsible panel with an optional header that contains a group of controls. | |
Represents an image control. | |
Represents a progress control that displays a value visually as a filled bar. | |
Enables the user to select a single option from a group of choices when paired with other RadioButton controls. | |
Defines a base class for controls that support auto-scrolling behavior. | |
Represents an horizontal scroll bar. | |
Represents a vertical scroll bar. | |
Implements the basic functionality of a scroll bar control. | |
Represents a control consisting of a movable bar that divides a container's display area into two resizable panels. | |
Creates a panel that is associated with a SplitContainer. | |
Manages a related set of TabPage pages. | |
Represents a single tab page in a TabControl. | |
Represents a text box control that allows the user to enter any value. | |
Implements the basic functionality required by text controls. | |
Enables the user to choose between a range of values by sliding a small bar along another bar. | |
Implements the basic functionality required by a spin box (also known as an up-down control). | |
Provides an empty control that can be used to create other controls. | |
Represents a web browser control that enables the user to navigate web pages inside a form or a page. | |
Represents a ComboBox control that can be hosted in a DataGridViewComboBoxCell. | |
Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell. | |
Represents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell. | |
Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell. | |
Represents a TextBox control that can be hosted in a DataGridViewTextBoxCell cell when the cell's WrapMode is set to False. | |
Represents a data grid control. | |
Displays data in a customizable list format. | |
Used by the DataRepeater control to display data at run time. | |
Represents a desktop container that can host floating windows. | |
Displays collapsible set of AccordionPanel panels for presenting information in a limited amount of space. | |
Represents a panel in a Accordion control. | |
Represents a control that can host ASP.NET or MVC pages within a Wisej application. | |
Represents the HTML5 canvas element. | |
Represents a FlashPlayer control that can display flash applications. | |
Represents a panel that dynamically arranges its child controls. | |
Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML. | |
Represents a control that displays any HTML file in an IFrame element. | |
Represents a line control. | |
The TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel. | |
Base implementation for media controls. | |
Represents a Video control that displays a video file. | |
Represents a Audio control that plays an audio file. | |
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. | |
Represents a shape control. Displays an element a border in any of the four sides. | |
Displays child controls vertically or horizontally in a scrollable container. | |
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. | |
Represents a split button control. | |
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. | |
Represents a spinner control that displays TimeSpan values. | |
The TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel. | |
Represents a text box control that allows the user to enter a typed value. | |
Represent an upload widget. Allows users to selected one or more files and upload them to the server. | |
The UserComboBox control represents a ComboBox control with a custom panel that drops down when the user clicks the down arrow. | |
Provides an popup container that can be attached to other controls. | |
Provides a generic widget that can use most third party javascript widgets. | |
Represents a list view control, which displays a collection of items that can be displayed using one of four different views. | |
Represents a menu bar component. | |
Provides a user interface for browsing the properties of an object. | |
Displays information to the user in a about the object being viewed, the object's components, or the object's operation. | |
Represents a toolbar component. | |
Displays a hierarchical collection of labeled items, each represented by a TreeNode. |
Name | Description |
---|---|
Bindable components implement this interface. | |
Controls that support drag & drop operations implement this interface. | |
All wisej components implement this interface. | |
All wisej controls derived from the Control class must implement this interface. | |
Allows an object to serialize itself. |
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign