Use the BindingLoadInfo to create the information for a binding that you need when adding the binding to an object. More...
#include <kanzi/core.ui/binding/binding_load_info.hpp>
Public Member Functions | |
BindingLoadInfo ()=default | |
Empty constructor. More... | |
BindingLoadInfo (AbstractBindingSharedPtr bindingParam, AbstractPropertyType targetProperty, PropertyField targetField, optional< PropertyValuePrecedence > precedenceParam, PropertyDataType dataTypeParam, string_view targetValueParam) | |
Constructor for all variants. More... | |
BindingLoadInfo (AbstractBindingSharedPtr bindingParam, AbstractPropertyType targetProperty, PropertyField targetField, PropertyValuePrecedence precedenceParam) | |
Constructor for value source binding. More... | |
BindingLoadInfo (AbstractBindingSharedPtr bindingParam, AbstractPropertyType targetProperty, PropertyValuePrecedence precedenceParam) | |
Constructor for value source binding. More... | |
BindingLoadInfo (AbstractBindingSharedPtr bindingParam, AbstractPropertyType targetProperty, PropertyField targetField) | |
Constructor for modifier binding. More... | |
BindingLoadInfo (AbstractBindingSharedPtr bindingParam, AbstractPropertyType targetProperty) | |
Constructor for modifier binding. More... | |
BindingLoadInfo (AbstractBindingSharedPtr bindingParam, PropertyDataType dataTypeParam, string_view targetValueParam) | |
Constructor for render value. More... | |
BindingLoadInfo (AbstractBindingSharedPtr bindingParam) | |
Constructor for dummy binding. More... | |
Public Attributes | |
AbstractBindingSharedPtr | binding |
Binding information. More... | |
PropertyField | field |
Target property field;. More... | |
optional< PropertyValuePrecedence > | precedence |
Property value precedence (may be empty). More... | |
AbstractPropertyType | propertyType |
Target property type. More... | |
PropertyDataType | targetDataType |
Target data type. More... | |
string | targetRenderValue |
Target render value. More... | |
Use the BindingLoadInfo to create the information for a binding that you need when adding the binding to an object.
The information includes the binding and the source with target information.
To create the information for a modifier binding, do not specify property value precedence.
|
explicitdefault |
Empty constructor.
|
inlineexplicit |
Constructor for all variants.
bindingParam | Binding with source info. |
targetProperty | Target property type. |
targetField | Target property field. |
precedenceParam | (Optional) Property value precedence to use. To create the load information for a modifier binding, do not set this parameter. |
dataTypeParam | Data type for the render value. |
targetValueParam | Render value name. |
|
inlineexplicit |
Constructor for value source binding.
bindingParam | Binding with source info. |
targetProperty | Target property type. |
targetField | Target property field. |
precedenceParam | Property value precedence to use. |
|
inlineexplicit |
Constructor for value source binding.
bindingParam | Binding with source info. |
targetProperty | Target property type. |
precedenceParam | Property value precedence to use. |
|
inlineexplicit |
Constructor for modifier binding.
bindingParam | Binding with source info. |
targetProperty | Target property type. |
targetField | Target property field. |
|
inlineexplicit |
Constructor for modifier binding.
bindingParam | Binding with source info. |
targetProperty | Target property type. |
|
inlineexplicit |
Constructor for render value.
bindingParam | Binding with source info. |
dataTypeParam | Data type for the render value. |
targetValueParam | Render value name. |
|
inlineexplicit |
Constructor for dummy binding.
bindingParam | Binding with source info. |
AbstractBindingSharedPtr kanzi::BindingLoadInfo::binding |
Binding information.
AbstractPropertyType kanzi::BindingLoadInfo::propertyType |
Target property type.
PropertyField kanzi::BindingLoadInfo::field |
Target property field;.
optional<PropertyValuePrecedence> kanzi::BindingLoadInfo::precedence |
Property value precedence (may be empty).
PropertyDataType kanzi::BindingLoadInfo::targetDataType |
Target data type.
string kanzi::BindingLoadInfo::targetRenderValue |
Target render value.