Modifier and Type | Interface and Description |
---|---|
static class |
IRangeValueProvider.RangeValueProviderContext
context object for IRangeValueProvider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get_IsReadOnly()
Indicates whether the value of a control is read-only.
|
double |
get_LargeChange()
Specifies the value that is added to or subtracted from the IRangeValueProvider::Value property when a large change is made, such as when the PAGE DOWN key is pressed.
|
double |
get_Maximum()
Specifies the maximum range value supported by the control.
|
double |
get_Minimum()
Specifies the minimum range value supported by the control.
|
double |
get_SmallChange()
Specifies the value that is added to or subtracted from the IRangeValueProvider::Value property when a small change is made, such as when an arrow key is pressed.
|
double |
get_Value()
The value of the control.
|
void |
SetValue(double value)
Sets the value of control.
|
initialize
boolean get_IsReadOnly()
double get_LargeChange()
The LargeChange property can support Not a Number (NaN) value. When returning a NaN value, the provider should return a quiet (non-signaling) NaN to avoid raising an exception if floating-point exceptions are turned on. The following example shows how to create a quiet NaN:
double get_Maximum()
This value should be greater than Minimum.
double get_Minimum()
This value should be less than Maximum.
double get_SmallChange()
The SmallChange property can support Not a Number (NaN) value. When returning a NaN value, the provider should return a quiet (non-signaling) NaN to avoid raising an exception if floating-point exceptions are turned on. The following example shows how to create a quiet NaN:
double get_Value()
void SetValue(double value)
The actual value set depends on the control implementation. The control may round the requested value up or down.
value
- the value