Slider
The Slider
control provides a selector that you can use to set a particular value that is generally bound to another control. Chapter 34 provides an example binding a Slider
to a MediaElement
for controlling the volume; however, at the moment consider the following code:
A Slider
requires a Minimum
and Maximum
value, whereas Value
is the current selected value. You can place tool tips reporting the value (AutoToolTipPlacement
) specifying the position (TopLeft
or BottomRight
). Moreover you can place ticks so that visualization is clearer and decide how many ticks to place (TickFrequency
). For example, the preceding code can produce 10 ticks ...
Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.