Data.Bind.Components.TBindCompDesignerExpressionType
Delphi
TBindCompDesignerExpressionType = (exprControlToSource, exprSourceToControl, exprBidirectional);
C++
enum DECLSPEC_DENUM TBindCompDesignerExpressionType : unsigned char { exprControlToSource, exprSourceToControl, exprBidirectional };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Data.Bind.Components.pas Data.Bind.Components.hpp |
Data.Bind.Components | Data.Bind.Components |
Description
Enumeration of binding expression types to be used by the bindings expressions editor component.
Item | Description |
---|---|
exprControlToSource
|
The bindings expression is unidirectional, binding a property of the control object to a property of the source object. When the control property changes, the source property updates accordingly, but not in reverse. |
exprSourceToControl
|
The bindings expression is unidirectional, binding a property of the source object to a property of the control object. When the source property changes, the control property updates accordingly, but not in reverse. |
exprBidirectional
|
The bindings expression is bidirectional. Whenever one of the source or control's bound properties changes, the other one is automatically updated. |