Interface IRangeValueProvider
- All Superinterfaces:
IInitable
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classcontext object for IRangeValueProvider. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the value of a control is read-only.doubleSpecifies 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.doubleSpecifies the maximum range value supported by the control.doubleSpecifies the minimum range value supported by the control.doubleSpecifies 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.doubleThe value of the control.voidSetValue(double value) Sets the value of control.Methods inherited from interface at.bestsolution.uia.IInitable
initialize
-
Method Details
-
get_IsReadOnly
boolean get_IsReadOnly()Indicates whether the value of a control is read-only.- Returns:
- true if readonly
-
get_LargeChange
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.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:
- Returns:
- the large change
-
get_Maximum
double get_Maximum()Specifies the maximum range value supported by the control.This value should be greater than Minimum.
- Returns:
- the maximum
-
get_Minimum
double get_Minimum()Specifies the minimum range value supported by the control.This value should be less than Maximum.
- Returns:
- the minimum
-
get_SmallChange
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.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:
- Returns:
- the small change
-
get_Value
double get_Value()The value of the control.- Returns:
- the value
-
SetValue
void SetValue(double value) Sets the value of control.The actual value set depends on the control implementation. The control may round the requested value up or down.
- Parameters:
value- the value
-