Data.Bind.Components.TCustomBindGridLink.CanSetControlComponent
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.Bind.Components.pas Data.Bind.Components.hpp
| |
Unit: Data.Bind.Components | |
Parent: TCustomBindGridLink |
Delphi
function CanSetControlComponent(AControl: TComponent): Boolean; override;
C++
virtual bool __fastcall CanSetControlComponent(System::Classes::TComponent* AControl);
Description
Returns whether the control component can be set a given value.
Data.Bind.Components.TCustomBindGridLink.CanSetControlComponent inherits from Data.Bind.Components.TContainedBindComponent.CanSetControlComponent. All content below this line refers to Data.Bind.Components.TContainedBindComponent.CanSetControlComponent.
Returns whether the control component can be set a given value.
As implemented in TContainedBindComponent, CanSetControlComponent always returns True, but in descendants it actually returns whether the given Value
(that is itself a TComponent) can be assigned to the control component.