SlideBar

Wisej.Web.SlideBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Displays child controls vertically or horizontally in a scrollable container.

public class SlideBar : Control

Constructors

Initializes a new instance of the SlideBar class.

Properties

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:

Int32: Returns or sets the spacing between the child controls.

Throws:

VScrollProperties: Returns the properties associated with the vertical scroll position.

Methods

Scrolls the content by the specified offset in pixels.

ParameterTypeDescription

offset

Number of pixels to scroll by.

duration

The time in milliseconds the scroll to should take.

Scrolls the specified child control into view.

ParameterTypeDescription

control

The child control to scroll into view.

Scrolls the specified child control into view. using the specified alignX preference.

ParameterTypeDescription

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.

ParameterTypeDescription

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.

ParameterTypeDescription

position

The position in pixels to scroll to.

duration

The time in milliseconds the scroll to should take.

Events

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.

Implements

NameDescription

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.

Last updated