API:Data.Bind.Components.TCustomBindExpression.CanActivate
Delphi
function CanActivate: Boolean; override;
C++
virtual bool __fastcall CanActivate(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Data.Bind.Components.pas Data.Bind.Components.hpp |
Data.Bind.Components | TCustomBindExpression |
Description
Returns whether the binding expressions can be activated or not. {{#multireplace:Data.Bind.Components.TCustomBindExpression.CanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.Bind.Components.TActivatedContainedBindComponent.CanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.Bind.Components.TActivatedContainedBindComponent.CanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Returns whether the binding expressions can be activated or not.
The CanActivate method returns True if the source and control components are assigned.