Vcl.Touch.GestureMgr.TGestureCollectionItem.DefineProperties
Delphi
procedure DefineProperties(Filer: TFiler); override;
C++
virtual void __fastcall DefineProperties(System::Classes::TFiler* Filer);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Touch.GestureMgr.pas Vcl.Touch.GestureMgr.hpp |
Vcl.Touch.GestureMgr | TGestureCollectionItem |
Description
Provides methods to read and write TGestureCollectionItem properties to a stream such as a form file.
DefineProperties is called automatically by the streaming system that loads and saves VCL components. It allows persistent objects to read and write properties that are not published. Published properties are loaded and stored automatically.
DefineProperties uses the methods of the filer passed as the Filer parameter to assign methods that can load and save the Deviation, ErrorMargin, GestureID, Name, Options, Points properties.
Override DefineProperties to persist unpublished properties. Call the DefineBinaryProperty or DefineProperty method of the Filer parameter to assign methods that load or save property values.
DefineProperties is exposed as a protected method of TGestureCollectionItem. It can only be used in the implementation of a descendant class of TGestureCollectionItem.
Note: When overridding this method, call the parent class' DefineProperties method first.