FMX.Presentation.Style.TStyledPresentation.DefineModelClass
Delphi
function DefineModelClass: TDataModelClass; virtual;
C++
virtual Fmx::Controls::Model::TDataModelClass __fastcall DefineModelClass(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | FMX.Presentation.Style.pas FMX.Presentation.Style.hpp |
FMX.Presentation.Style | TStyledPresentation |
Description
Defines a class of the model.
If an ancestor overrides the model class, the presentation can check the class of the model when the presented control sends a model.