FMX.NumberBox.TNumberBoxModel

From RAD Studio API Documentation
Jump to: navigation, search

FMX.EditBox.TEditBoxModelFMX.Edit.TCustomEditModelFMX.Controls.Model.TDataModelFMX.Presentation.Messages.TMessageSenderSystem.Classes.TPersistentSystem.TObjectTNumberBoxModel

Delphi

TNumberBoxModel = class(TEditBoxModel)

C++

class PASCALIMPLEMENTATION TNumberBoxModel : public Fmx::Editbox::TEditBoxModel

Properties

Type Visibility Source Unit Parent
class public
FMX.NumberBox.pas
FMX.NumberBox.hpp
FMX.NumberBox FMX.NumberBox

Description



A class that contains a dictionary of key-value pairs and may be used as a model by presented controls.

FMX.NumberBox.TNumberBoxModel 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.

See Also