Data.Bind.ObjectScope.TCustomDataGeneratorAdapter.GetCanActivate
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp
| |
Unit: Data.Bind.ObjectScope | |
Parent: TCustomDataGeneratorAdapter |
Delphi
function GetCanActivate: Boolean; override;
C++
virtual bool __fastcall GetCanActivate();
Description
Getter method for the CanActivate property.
Data.Bind.ObjectScope.TCustomDataGeneratorAdapter.GetCanActivate inherits from Data.Bind.ObjectScope.TBindSourceAdapter.GetCanActivate. All content below this line refers to Data.Bind.ObjectScope.TBindSourceAdapter.GetCanActivate.
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 returnTrue
if the source adapter can be activated orFalse
otherwise.