Show: Delphi C++
Display Preferences

FMX.Controls.Presentation.TPresentedControl.DefineModelClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DefineModelClass: TDataModelClass; virtual;

C++

virtual Fmx::Controls::Model::TDataModelClass __fastcall DefineModelClass();

Properties

Type Visibility Source Unit Parent
function protected
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TPresentedControl

Description

Returns a class reference to a data model of this presented control.

Returns a class reference to a data model class that the constructor of this presented control uses to create a data model for the control.

By default DefineModelClass returns TDataModel. Descendant classes reimplement DefineModelClass to determine the data model class that a descendant presented control uses for its data model.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance