FMX.Grid.TCustomGrid.DefineModelClass
Delphi
function DefineModelClass: TDataModelClass; override;
C++
virtual Fmx::Controls::Model::TDataModelClass __fastcall DefineModelClass();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TCustomGrid |
Description
Returns a class reference to a data model of this presented control.
FMX.Grid.TCustomGrid.DefineModelClass inherits from FMX.Controls.Presentation.TPresentedControl.DefineModelClass. All content below this line refers to FMX.Controls.Presentation.TPresentedControl.DefineModelClass.
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.