TrackBar Methods

Overview | This Package | All Packages

TrackBar Methods

Constructors Description
TrackBar Creates a TrackBar control.

Methods Description
addOnScroll Assigns a delegate to the scroll event.

addOnValueChanged Assigns a delegate to the valueChanged event.

getAutoSize Retrieves a boolean value indicating whether the trackbar automatically adjusts its size to fit the size of the slider.

getLargeChange Retrieves the number of units the slider moves when the user presses the PAGE UP or PAGE DOWN key or clicks in the control on either side of the slider.

getMaximum Retrieves the maximum value of the trackbar.

getMinimum Retrieves the minimum value of the trackbar.

getOrientation Retrieves a value indicating whether the trackbar is oriented horizontally or vertically.

getSmallChange Retrieves the number of units the slider moves when the user presses the LEFT ARROW, RIGHT ARROW, UP ARROW, or DOWN ARROW key.

getTickFrequency Retrieves the number of units between tick marks.

getTickStyle Retrieves a value indicating where tick marks appear in a trackbar.

getValue Retrieves the value of the trackbar (the position of the trackbar slider).

onScroll Triggers the scroll event.

propertyChanged Triggers the propertyChanged event.

removeOnScroll Removes the delegate that is assigned to the scroll event.

removeOnValueChanged Removes the delegate that is assigned to the valueChanged event.

setAutoSize Sets a boolean value indicating whether the trackbar automatically adjusts its size to fit the size of the slider.

setLargeChange Sets the number of units the slider moves when the user presses the PAGE UP or PAGE DOWN key or clicks in the control on either side of the slider.

setMaximum Sets the maximum value of the trackbar.

setMinimum Sets the minimum value of the trackbar.

setOrientation Sets a value indicating whether the trackbar is oriented horizontally or vertically.

setRange Sets the minimum and maximum values for the trackbar.

setSmallChange Sets the number of units the slider moves when the user presses the LEFT ARROW, RIGHT ARROW, UP ARROW, or DOWN ARROW key.

setTickFrequency Sets the number of units between tick marks.

setTickStyle Sets a value indicating where tick marks appear in a trackbar.

setValue Sets the value of the trackbar (the position of the trackbar slider).