System.Bindings.Helper.TBindingEventRec

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TBindingEventRec = record
  public
    EvalErrorEvent: TBindingEvalErrorEvent;
    AssigningValueEvent: TBindingAssigningValueEvent;
    AssignedValueEvent: TBindingAssignedValueEvent;
    LocationUpdatedEvent: TBindingLocationUpdatedEvent;
    class function Create: TBindingEventRec; overload; static;
    constructor Create(AEvalErrorEvent: TBindingEvalErrorEvent); overload;
    constructor Create(AAssigningValueEvent: TBindingAssigningValueEvent); overload;
    constructor Create(AEvalErrorEvent: TBindingEvalErrorEvent; AAssigningValueEvent: TBindingAssigningValueEvent); overload;
    constructor Create(AEvalErrorEvent: TBindingEvalErrorEvent; AAssigningValueEvent: TBindingAssigningValueEvent;
      AAssignedValueEvent: TBindingAssignedValueEvent); overload;
    constructor Create(AEvalErrorEvent: TBindingEvalErrorEvent; AAssigningValueEvent: TBindingAssigningValueEvent;
      AAssignedValueEvent: TBindingAssignedValueEvent; ALocationUpdatedEvent: TBindingLocationUpdatedEvent); overload;
  end;

C++

struct DECLSPEC_DRECORD TBindingEventRec
{
public:
    System::Bindings::Outputs::TBindingEvalErrorEvent EvalErrorEvent;
    System::Bindings::Outputs::TBindingAssigningValueEvent AssigningValueEvent;
    System::Bindings::Outputs::TBindingAssignedValueEvent AssignedValueEvent;
    System::Bindings::Outputs::TBindingLocationUpdatedEvent LocationUpdatedEvent;
    static TBindingEventRec __fastcall Create()/* overload */;
    __fastcall TBindingEventRec(System::Bindings::Outputs::TBindingEvalErrorEvent AEvalErrorEvent)/* overload */;
    __fastcall TBindingEventRec(System::Bindings::Outputs::TBindingAssigningValueEvent AAssigningValueEvent)/* overload */;
    __fastcall TBindingEventRec(System::Bindings::Outputs::TBindingEvalErrorEvent AEvalErrorEvent, System::Bindings::Outputs::TBindingAssigningValueEvent AAssigningValueEvent)/* overload */;
    __fastcall TBindingEventRec(System::Bindings::Outputs::TBindingEvalErrorEvent AEvalErrorEvent, System::Bindings::Outputs::TBindingAssigningValueEvent AAssigningValueEvent, System::Bindings::Outputs::TBindingAssignedValueEvent AAssignedValueEvent)/* overload */;
    __fastcall TBindingEventRec(System::Bindings::Outputs::TBindingEvalErrorEvent AEvalErrorEvent, System::Bindings::Outputs::TBindingAssigningValueEvent AAssigningValueEvent, System::Bindings::Outputs::TBindingAssignedValueEvent AAssignedValueEvent, System::Bindings::Outputs::TBindingLocationUpdatedEvent ALocationUpdatedEvent)/* overload */;
    TBindingEventRec() {}
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Bindings.Helper.pas
System.Bindings.Helper.hpp
System.Bindings.Helper System.Bindings.Helper

Description

Binding events record.

TBindingEventRec is a record for binding events.

TBindingEventRec contains the following fields:

Parameter Meaning
EvalErrorEvent Called when evaluation errors occur.
AssignValueEvent If the evaluation was completed with success, the result is assigned to the output. Before the assignation, the event handler for AssignValueEvent is called. If the event treats the assignation itself, the engine does not assign the result to the output anymore.

See Also