Data.Bind.Components.TExpressionDirection
| [–] Properties | |
|---|---|
| Type: enum | |
| Visibility: public | |
| Source: Data.Bind.Components.pas Data.Bind.Components.hpp
| |
| Unit: Data.Bind.Components | |
| Parent: Data.Bind.Components | |
Delphi
TExpressionDirection = (dirSourceToControl, dirControlToSource, dirBidirectional);
C++
enum DECLSPEC_DENUM TExpressionDirection : unsigned char { dirSourceToControl, dirControlToSource, dirBidirectional };
Description
Enumeration of binding expression directions.
| Item | Description |
|---|---|
dirSourceToControl
|
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. |
dirControlToSource
|
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. |
dirBidirectional
|
The bindings expression is bidirectional. Whenever one of the source or control's bound properties changes, the other one is automatically updated. |