Data.Bind.Components.TBindCompDesignerExpressionType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Data.Bind.Components.pas
Data.Bind.Components.hpp
Unit: Data.Bind.Components
Parent: Data.Bind.Components

Delphi

TBindCompDesignerExpressionType = (exprControlToSource, exprSourceToControl, exprBidirectional);

C++

enum DECLSPEC_DENUM TBindCompDesignerExpressionType : unsigned char { exprControlToSource, exprSourceToControl, exprBidirectional };

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.

See Also