SlideBar
Wisej.Web.SlideBar
Last updated
Wisej.Web.SlideBar
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Displays child controls vertically or horizontally in a scrollable container.
Initializes a new instance of the SlideBar class.
BorderStyle: Returns or sets the type of border that is drawn around the SlideBar control.
Color: Returns or sets the background Color of the scroll buttons.
The default background color is set in the theme color as "slidebarButtons".
HScrollProperties: Returns the properties associated with the horizontal scroll position.
LayoutEngine: Returns the control's layout engine.
Orientation: Returns or sets the Orientation of the SlideBar control.
Int32: Returns or sets the number of pixels to scroll when the scroll buttons are pressed.
Throws:
ArgumentOutOfRangeException The value is less than 1 or greater than 32000.
Int32: Returns or sets the spacing between the child controls.
Throws:
ArgumentOutOfRangeException The value is less than 0 or greater than 32000.
VScrollProperties: Returns the properties associated with the vertical scroll position.
Scrolls the content by the specified offset in pixels.
Parameter | Type | Description |
---|---|---|
offset | Number of pixels to scroll by. | |
duration | The time in milliseconds the scroll to should take. |
Scrolls the specified child control into view.
Parameter | Type | Description |
---|---|---|
control | The child control to scroll into view. |
Scrolls the specified child control into view. using the specified alignX preference.
Parameter | Type | Description |
---|---|---|
control | The child control to scroll into view. | |
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. |
Scrolls the specified child control into view. using the specified alignY preference.
Parameter | Type | Description |
---|---|---|
control | The child control to scroll into view. | |
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 content to the specified position in pixels.
Parameter | Type | Description |
---|---|---|
position | The position in pixels to scroll to. | |
duration | The time in milliseconds the scroll to should take. |
EventHandler Fired when the value of Orientation changes.
ScrollEventHandler Fired when the SlideBar widget scrolls its content.
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 has completed the scrolling animation.
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 value of ScrollStep changes.
EventHandler Fired when the value of Spacing changes.
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. |