All pages
Powered by GitBook
1 of 1

Loading...

SlideBar

Wisej.Web.SlideBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • Control

    • SlideBar

Displays child controls vertically or horizontally in a scrollable container.

Constructors

SlideBar()

Initializes a new instance of the class.

Properties

BorderStyle

: Returns or sets the type of border that is drawn around the control.

ButtonsBackColor

: Returns or sets the background of the scroll buttons.

The default background color is set in the theme color as "slidebarButtons".

HorizontalScroll

: Returns the properties associated with the horizontal scroll position.

LayoutEngine

: Returns the control's layout engine.

Orientation

: Returns or sets the of the control.

ScrollStep

: Returns or sets the number of pixels to scroll when the scroll buttons are pressed.

Throws:

  • The value is less than 1 or greater than 32000.

Spacing

: Returns or sets the spacing between the child controls.

Throws:

  • The value is less than 0 or greater than 32000.

VerticalScroll

: Returns the properties associated with the vertical scroll position.

Methods

ScrollBy(offset, duration)

Scrolls the content by the specified offset in pixels.

Parameter
Type
Description

ScrollControlIntoView(control)

Scrolls the specified child control into view.

Parameter
Type
Description

ScrollControlIntoView(control, alignX)

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

Parameter
Type
Description

ScrollControlIntoView(control, alignY)

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

Parameter
Type
Description

ScrollTo(position, duration)

Scrolls the content to the specified position in pixels.

Parameter
Type
Description

Events

OrientationChanged

Fired when the value of changes.

Scroll

Fired when the 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.

ScrollAnimationEnd

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.

ScrollStepChanged

Fired when the value of changes.

SpacingChanged

Fired when the value of changes.

Implements

Name
Description

offset

Int32

Number of pixels to scroll by.

duration

Int32

The time in milliseconds the scroll to should take.

control

Control

The child control to scroll into view.

control

Control

The child control to scroll into view.

alignX

HorizontalAlignment

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.

control

Control

The child control to scroll into view.

alignY

VerticalAlignment

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.

position

Int32

The position in pixels to scroll to.

duration

Int32

The time in milliseconds the scroll to should take.

IBindableComponent

Bindable components 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.

Public Class SlideBar
    Inherits Control
SlideBar
BorderStyle
SlideBar
Color
Color
HScrollProperties
LayoutEngine
Orientation
Orientation
SlideBar
Int32
ArgumentOutOfRangeException
Int32
ArgumentOutOfRangeException
VScrollProperties
EventHandler
Orientation
ScrollEventHandler
SlideBar
EventHandler
EventHandler
ScrollStep
EventHandler
Spacing
public class SlideBar : Control