Data.Bind.Components.TExpressionDirection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TExpressionDirection = (dirSourceToControl, dirControlToSource, dirBidirectional);

C++

enum DECLSPEC_DENUM TExpressionDirection : unsigned char { dirSourceToControl, dirControlToSource, dirBidirectional };

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 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.

See Also