ScrollBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.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. (Default: 10)
Throws:
- ArgumentOutOfRangeException The assigned value is less than 0.
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:
- ArgumentOutOfRangeException The assigned value is less than 0.
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:
- ArgumentOutOfRangeException The assigned value is less than the Minimum property value; or the assigned value is greater than the Maximum property value.
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 |
|---|---|
| HScrollBar | Represents an horizontal scroll bar. |
| VScrollBar | Represents a vertical scroll bar. |
Implements
| Name | Description |
|---|---|
| IBindableComponent | Bindable components implement this interface. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |