Variable binding source.
More...
#include <kanzi/core.ui/binding/variable_binding_source.hpp>
Variable binding source.
VariableBindingSource binds to a VariableBindingTargetRuntime in a context that holds variable binding targets. This mechanism is intended to allow bindings to be used in a binding host that is not a PropertyObject to avoid the overhead of PropertyObject interface. There is no property object to store the value to - the variable bound to is the exact VariableBindingTargetRuntime itself.
- See also
- RenderEntry3D
- Since
- Kanzi 3.9.0
◆ VariableBindingSource()
Constructor.
- Parameters
-
propertyType | Property type to listen to. |
field | Property field to read. |
◆ create() [1/2]
Creates a variable binding source.
- Parameters
-
propertyType | Property type to listen to. |
field | Property field to read. |
◆ create() [2/2]
Creates a variable binding source.
Uses whole property value.
- Parameters
-
propertyType | Property type to listen to. |
◆ getPropertyType()
Gets the source property type.
- Returns
- Property type.
◆ getPropertyField()
PropertyField kanzi::VariableBindingSource::getPropertyField |
( |
| ) |
const |
|
inline |
Gets the source property field.
- Returns
- Property field.
◆ createRuntimeOverride()
◆ m_propertyType
◆ m_field
The documentation for this class was generated from the following file: