FMX.Edit.TCustomEditModel
Delphi
TCustomEditModel = class(TDataModel)
C++
class PASCALIMPLEMENTATION TCustomEditModel : public Fmx::Controls::Model::TDataModel
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Edit.pas FMX.Edit.hpp |
FMX.Edit | FMX.Edit |
Description
A class that contains a dictionary of key-value pairs and may be used as a model by presented controls.
FMX.Edit.TCustomEditModel inherits from FMX.Controls.Model.TDataModel. All content below this line refers to FMX.Controls.Model.TDataModel.
A class that contains a dictionary of key-value pairs and may be used as a model by presented controls.
Keys are strings and values are instances of TValue.
When TDataModel reads or writes TDataModel.Data values the data model sends MM_GETDATA
and MM_DATA_CHANGED
messages to a presentation.
TDataModel extends TMessageSender, which provides the sending messages functionality. TDataModel adds the Data and DataSource properties that provide keeping and handling of arbitrary type data using the TValue type. This means that TDataModel can keep any our data does not creating a new separate class.