RangeConcept represents a number range with an optional step. More...
#include <kanzi/ui/node/concept/range.hpp>
Classes | |
class | CommonMessageArguments |
class | ValueChangedMessageArguments |
class | ValueChangeFinishedMessageArguments |
class | ValueChangeStartedMessageArguments |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Attributes | |
static MessageType< ValueChangedMessageArguments > | ValueChangedMessage |
static MessageType< ValueChangeFinishedMessageArguments > | ValueChangeFinishedMessage |
static MessageType< ValueChangeStartedMessageArguments > | ValueChangeStartedMessage |
Properties | |
Sets the minimum value that the range allows. The default value is 0.0f.
| |
static PropertyType< float > | MinimumValueProperty |
static PropertyType< float > | MaximumValueProperty |
Sets the maximum value that the range allows. | |
static PropertyType< float > | StepProperty |
Sets the minimum change of the value in the range. | |
static PropertyType< float > | ValueProperty |
Reports the value in the range. | |
static PropertyType< float > | NormalizedValueProperty |
Reports the normalized value in the range. | |
static PropertyType< bool > | IsValueChangingProperty |
Reports whether the value is changing because of user interaction. | |
RangeConcept represents a number range with an optional step.
|
static |
|
static |
|
static |
Sets the maximum value that the range allows.
The default value is 1.0f.
|
static |
Sets the minimum change of the value in the range.
The default value is 0.0f.
|
static |
Reports the value in the range.
Kanzi always clamps the value to a valid range between the values set in the RangeConcept::MinimumValueProperty and RangeConcept::MaximumValueProperty. For example, if the value of RangeConcept::MaximumValueProperty is smaller than the value of RangeConcept::MinimumValueProperty, ValueProperty equals the value of RangeConcept::MinimumValueProperty.
Use this property to set the value in the range. To update the value in the range with a binding, use a TwoWayBinding or ToSourceBinding. During value validation the node that inherits the range concept internally overrides any one-way binding that targets this property. The default value is 0.0f.
|
static |
Reports the normalized value in the range.
The default value is 0.0f.
|
static |
Reports whether the value is changing because of user interaction.
The default value is false.
|
static |
|
static |
|
static |