March 2010
Intermediate to advanced
1216 pages
33h 44m
English
WPF includes three controls that use the concept of a range. These controls take a numeric value that falls in between a specific minimum and maximum value. These controls—ScrollBar, ProgressBar, and Slider—all derive from the RangeBase class (which itself derives from the Control class). But although they share an abstraction (the range), they work quite differently.
The RangeBase class defines the properties shown in Table 6-4.
| Name | Description |
|---|---|
| Value | The current value of the control (which must fall between the minimum and maximum). By default, it starts at 0. Contrary to what you might expect, Value isn't an integer—it's a double, so it accepts fractional values. You can react ... |
Read now
Unlock full access