Data.Bind.ObjectScope.TInitItemInstanceEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Unit: Data.Bind.ObjectScope
Parent: Data.Bind.ObjectScope

Delphi

TInitItemInstanceEvent = procedure(Sender: TBindSourceAdapter; AInstance: TObject) of object;

C++

typedef void __fastcall (__closure *TInitItemInstanceEvent)(TBindSourceAdapter* Sender, System::TObject* AInstance);

Description

TInitItemInstanceEvent is an event handler that takes place when an adapter is requested to initialize a newly created data source item.

It has the following parameters:

  • Sender specifies the adapter.
  • AInstance specifies a data source item to initialize.

See also