Skip to main content
Version: 4.1

ScrollBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Implements the basic functionality of a scroll bar control.

public class ScrollBar : Control

Constructors

Instance member ScrollBar()

Initializes a new instance of the ScrollBar class.

Properties

Instance member 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:

Instance member Maximum

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

Instance member Minimum

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

Instance member Orientation

Orientation: Returns the orientation of the scrollbar control.

Instance member 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:

Instance member 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)

Instance member 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

Protected member OnScroll(e)

Fires the Scroll event.

ParameterTypeDescription
eScrollEventArgsA ScrollEventArgs that contains the event data.

Protected member OnValueChanged(e)

Fires the ValueChanged event.

ParameterTypeDescription
eEventArgsAn EventArgs that contains the event data.

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Events

Instance member Scroll

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

Instance member ValueChanged

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

Inherited By

NameDescription
HScrollBarRepresents an horizontal scroll bar.
VScrollBarRepresents a vertical scroll bar.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.