ScrollBar

Wisej.Web.ScrollBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Implements the basic functionality of a scroll bar control.

public class ScrollBar : 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. (Default: 10)

Throws:

Maximum

Int32: Returns or sets the upper limit of values of the scrollable range. (Default: 100)

Minimum

Int32: Returns or sets the lower limit of values of the scrollable range. (Default: 0)

Orientation

Orientation: Returns the orientation of the scrollbar control.

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. (Default: 1)

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. (Default: False)

Value

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

Throws:

Methods

OnScroll(e)

Fires the Scroll event.

Parameter
Type
Description

e

A ScrollEventArgs that contains the event data.

OnValueChanged(e)

Fires the ValueChanged event.

Parameter
Type
Description

e

An EventArgs that contains the event data.

OnWebEvent(e)

Processes the event from the client.

Parameter
Type
Description

e

Event arguments.

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

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 By

Name
Description

Represents an horizontal scroll bar.

Represents a vertical scroll bar.

Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

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.

Last updated

Was this helpful?