Skip to main content
Table of Contents

TTMSFNCDataGridCore.OnCanSaveProperty Event

Occurs for each property while settings are saved, letting you exclude individual properties.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore Type: TTMSFNCCustomControlCanSavePropertyEvent

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
property OnCanSaveProperty: TTMSFNCCustomControlCanSavePropertyEvent;
__property TTMSFNCCustomControlCanSavePropertyEvent OnCanSaveProperty = {read=FOnCanSaveProperty, write=FOnCanSaveProperty};

Remarks

Fired from CanSaveProperty during SaveSettingsToFile and SaveSettingsToStream. The var flag already holds the default decision (including the appearance-only filter); set it to False to omit the property, or True to force it in.