Data.Bind.Components.TExpressionDirection
Delphi
TExpressionDirection = (dirSourceToControl, dirControlToSource, dirBidirectional);
C++
enum DECLSPEC_DENUM TExpressionDirection : unsigned char { dirSourceToControl, dirControlToSource, dirBidirectional };
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
enum | public | Data.Bind.Components.pas Data.Bind.Components.hpp |
Data.Bind.Components | Data.Bind.Components |
説明
バインディング式の方向を列挙した型です。
項目 | 説明 |
---|---|
dirSourceToControl
|
バインディング式は単方向で、ソース オブジェクトのプロパティをコントロール オブジェクトのプロパティにバインドします。ソース プロパティが変化すると、コントロール プロパティもそれに応じて更新されますが、その逆はありません。 |
dirControlToSource
|
バインディング式は単方向で、コントロール オブジェクトのプロパティをソース オブジェクトのプロパティにバインドします。コントロール プロパティが変化すると、ソース プロパティもそれに応じて更新されますが、その逆はありません。 |
dirBidirectional
|
バインディング式は双方向です。ソースかコントロールのどちらか一方のバインド済みプロパティが変化するたびに、もう一方も自動的に更新されます。 |