TrackBar

Wisej.Web.TrackBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Enables the user to choose between a range of values by sliding a small bar along another bar.

public class TrackBar : Control, ISupportInitialize

Constructors

TrackBar()

Initializes a new instance of the TrackBar class.

Properties

AutoSize

Boolean: Returns or sets whether the height or width of the track bar is being automatically sized.

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.

Throws:

Maximum

Int32: Returns or sets the upper limit of the range this TrackBar is working with.

Minimum

Int32: Returns or sets the lower limit of the range this TrackBar is working with.

Orientation

Orientation: Returns or sets a value indicating the horizontal or vertical orientation of the track bar.

ShowValue

Boolean: Returns or sets a flag indicating whether the value is displayed in a bubble control while the user is moving the knob.

The appearance key of the child bubble component is "bubble".

SmallChange

Int32: Returns or sets the value added to or subtracted from the Value property when the scroll box is moved a small distance.

TickFrequency

Int32: Returns or sets a value that specifies the delta between ticks drawn on the control.

TickStyle

TickStyle: Returns or sets a value indicating how to display the tick marks on the track bar.

Value

Int32: Returns or sets a numeric value that represents the current position of the scroll box on the track bar.

Throws:

Methods

SetRange(minValue, maxValue)

Sets the minimum and maximum values for a TrackBar.

Parameter
Type
Description

minValue

The lower limit of the range of the track bar.

maxValue

The upper limit of the range of the track bar.

Events

AutoSizeChanged

EventHandler Fired when the value of the AutoSize property changes.

Scroll

EventHandler Fired when either a mouse or keyboard action moves the scroll box.

ValueChanged

EventHandler Fired when the Value property of a track bar changes, either by movement of the scroll box or by manipulation in code.

Implements

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.

Last updated