API:Data.Bind.Components.TCustomLinkPropertyToField.CanActivate

From RAD Studio API Documentation

Delphi

function CanActivate(Sender: TComponent): Boolean; override;

C++

virtual bool __fastcall CanActivate(System::Classes::TComponent* Sender);

Properties

Type Visibility Source Unit Parent
function public
Data.Bind.Components.pas
Data.Bind.Components.hpp
Data.Bind.Components TCustomLinkPropertyToField

Description

Lets the wrapper binding component indicate whether a delegate (or contained) binding component may be activated. {{#multireplace:Data.Bind.Components.TCustomLinkPropertyToField.CanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.Bind.Components.TBindComponentDelegate.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.TBindComponentDelegate.CanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Lets the wrapper binding component indicate whether a delegate (or contained) binding component may be activated.

The CanActivate method returns True if the delegate (or contained) binding component can be activated, False otherwise.

See Also