Data.Bind.ObjectScope.TCustomDataGeneratorAdapter.GetCanActivate
Delphi
function GetCanActivate: Boolean; override;
C++
virtual bool __fastcall GetCanActivate(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp |
Data.Bind.ObjectScope | TCustomDataGeneratorAdapter |
Description
Getter method for the CanActivate property. {{#multireplace:Data.Bind.ObjectScope.TCustomDataGeneratorAdapter.GetCanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.Bind.ObjectScope.TBindSourceAdapter.GetCanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.Bind.ObjectScope.TBindSourceAdapter.GetCanActivate|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Getter method for the CanActivate property.
GetCanActivate determines whether the source adapter can be activated.
- Note: This method always returns
True, so descendant classes must override the GetCanActivate method to returnTrueif the source adapter can be activated orFalseotherwise.