ScrollBar
Wisej.Web.ScrollBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Implements the basic functionality of a scroll bar control.
C#
VB.NET
public class ScrollBar : Control
Public Class ScrollBar
Inherits Control

Constructors

ScrollBar()

Initializes a new instance of the ScrollBar class.

Properties

LargeChange

Int32: Returns or sets a value to be added to or subtracted from the Value property when the scroll box is moved a large distance.
Throws:

Maximum

Int32: Returns or sets the upper limit of values of the scrollable range.

Minimum

Int32: Returns or sets the lower limit of values of the scrollable range.

SmallChange

Int32: Returns or sets the value to be added to or subtracted from the Value property when the scroll box is moved a small distance.
Throws:

TabStop

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.

Value

Int32: Returns or sets a numeric value that represents the current position of the scroll box on the scroll bar control.
Throws:

Events

Scroll

ScrollEventHandler Fired when the scroll box has been moved by either a mouse or keyboard action.

ValueChanged

EventHandler Fired when the Value property is changed, either by a Scroll event or programmatically.

Inherited

Properties

Name
Description
From
Returns or sets the description that will be reported to accessibility client applications. It is assigned to the "alt" attribute of the browser element.
Control
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.
Control
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.
Control
Anchor
Returns or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
Control
Anonymous
Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents.
Control
Sets the appearance key for the theme engine.
Control
Returns a flag indicating that the control is becoming the active control.
Control
Returns or sets the BindingContext for the control.
Control
Bottom
Returns the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
Control
Bounds
Returns or sets the size and location of the control including its non-client area, in pixels and relative to the parent control.
Control
Determines whether the control can execute a command.
Control
CanFocus
Returns whether the control can receive focus.
Control
CanSelect
Returns whether the control can be selected.
Control
Capture
Returns or sets whether the control has captured the mouse.
Control
Returns or sets whether the control causes validation to be performed on controls that require to be validated when this control receives focus.
Control
Returns a collection of client events and JavaScript listeners. You may attach multiple listeners to same event.
Control
Returns the client rectangle of the control.
Control
Returns or sets the height and width of the client area.
Control
Indicates whether the control, or one of its child controls, has the input focus.
Control
Controls
Returns the collection of controls contained within the control.
Control

Methods

Name
Description
From
Adds a new listener script to the event name to the client widget.
Control
Adds the CSS class name to the widget element. If the class already exists in the CssClass it's not added.
Control
Adds the specified theme state to the widget.
Control
Executes the specified delegate asynchronously.
Control
Executes the specified delegate asynchronously.
Control
Brings the control to the front of the z-order.
Control
Runs the JavaScript function within the component's context in the browser.
Control
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
Control
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.
Control
Centers the position of the control within the bounds of the parent.
Control
Centers the position of the control within the bounds of the parent either horizontally, vertically or both.
Control
Indicates whether the specified control is a child of this control.
Control
Creates and register this control and all its children.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Retrieves the return value from the asynchronous operation represented by asyncResult .
Control
Runs the javaScript code within the component's context in the browser.
Control

Events

Name
Description
From
Appear
Fired after the control has been fully rendered on the client.
Control
Fired when the value of the BecomingActiveControl property changes.
Control
Occurs when the value of the BindingContext property changes.
Control
Fired when the value of the CausesValidation property changes.
Control
Click
Fired when the control is clicked.
Control
Fired when the ClientSize property value changes.
Control
Fired when the value of the ContextMenu property changes.
Control
Fired when a new control is added to the ControlCollection.
Control
Fired when a control is made visible the first time, fully created and sent to the client.
Control
Fired when a control is removed from the ControlCollection.
Control
Fired when the value of the Cursor property changes.
Control
Disappear
Fired after the control is no longer visible on the client.
Control
Disposed
Fired when the component is disposed.
Control
Fired when the value of the Dock property changes.
Control
Fired when the control is double-clicked.
Control
DragDrop
Fired when a drag-and-drop operation is completed.
Control
DragEnd
Fired when a drag-drop operation is terminated either by a drop or canceled.
Control
DragEnter
Fired when an object is dragged into the control's bounds.
Control
DragLeave
Fired when an object is dragged out of the control's bounds.
Control
DragOver
Fired when an object is dragged over the control's bounds.
Control

Extension Methods

Name
Description
From
Sounds a tone through the computer's speaker.
Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Asynchronous displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
Asynchronously displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
Serializes the object to a JSON string.
JSON
Serializes the object to a JSON string.
JSON

Inherited By

Name
Description
Represents an horizontal scroll bar.
Represents a vertical scroll bar.

Implements

Name
Description
Bindable components 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.