Table of Contents

TTMSFNCDataBinder.OnBeforeWriteHTMLTemplateToProperty Event

Fires before an HTML template is applied to a component property; set AAllow to False to suppress or modify the template.

API unit family: TMSFNCDataBinding Declaring type: TTMSFNCDataBinder

Syntax

OnBeforeWriteHTMLTemplateToProperty: TTMSFNCDataBinderBeforeWriteHTMLTemplateToPropertyEvent;

Parameters

Name Description
Sender The data binder that raised the event.
AObject The bound component whose property is about to receive the template.
AItem The binding item that connects the template to the property.
APropertyInfo RTTI descriptor for the target property.
APropertyName Name of the target property.
APropertyKind RTTI type kind of the target property.
AHTMLTemplate The HTML template string; may be modified in the handler.
AAllow Set to False to suppress applying the template.