TXFADocument.BindingPredicate

Unit: HPDFXFA

Declaration

property BindingPredicate: TXFABindingPredicate
  read FBindingPredicate write FBindingPredicate;

Behaviour

Assign an application callback to evaluate candidate predicates during native bind resolution; the property stores an object method and does not own the callback object

A TXFAWidgetRuntime installs its own evaluator before its initial merge only when the document has no callback and honours an existing application callback

The runtime removes its callback on destruction only if the property still refers to that runtime's method; keep the document alive longer than a runtime or layout host that borrows it, and keep an application callback object alive whilst its method remains assigned

This property is execution configuration and is not serialised into XDP XML; loading saved XML alone does not restore an application callback

The runtime's JavaScript predicate path requires ScriptOptions.EnableJavaScript; FormCalc .[...] predicates have a distinct language path and do not grant permission for JavaScript .(...) predicates

Runtime event and remerge rollback follows their enclosing transaction contracts; constructing a runtime is not a promise that a failed constructor leaves the input XML byte identical

The callback does not imply support for every XFA schema class or arbitrary script context; see Native XFA Bind SOM for selector coverage

Related APIs