Data.Bind.Components.TContainedBindComponent.CanSetControlComponent

From RAD Studio API Documentation
Revision as of 10:29, 5 July 2012 by Denisa.ilascu (talk | contribs) (RS-29368)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function CanSetControlComponent(Value: TComponent): Boolean; virtual;

C++

virtual bool __fastcall CanSetControlComponent(System::Classes::TComponent* Value);

Properties

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

Description

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.

See Also