System.Bindings.Outputs.TBindingCallbackFactory.GetCallback

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetCallback(const ClassType: string; const PropertyName: string; var PropCallbacks: TBindingCallbacksList): Boolean;

C++

__classmethod bool __fastcall GetCallback(const System::UnicodeString ClassType, const System::UnicodeString PropertyName, System::Generics::Collections::TList__1<_di_TBindingCallback>* &PropCallbacks);

Properties

Type Visibility Source Unit Parent
function public
System.Bindings.Outputs.pas
System.Bindings.Outputs.hpp
System.Bindings.Outputs TBindingCallbackFactory

Description

Finds a registered callback, given a class type and a class property.

The GetCallback method is used to find a registered callback, given a class type and a class property. Call GetCallback with the following parameters:

Parameter Meaning
ClassType Class type associated with a callback.
PropertyName Class property name associated with a callback.
PropCallbacks List of callbacks found, given a class type and a property name.

GetCallback returns True if any callbacks are found, False otherwise.

See Also