API:FMX.Grid.TGridModel.Create
Delphi
constructor Create(const AOwner: TComponent); override;
C++
__fastcall virtual TGridModel(System::Classes::TComponent* const AOwner)/* overload */;
/* TMessageSender.Create */ inline __fastcall virtual TGridModel()/* overload */ : Fmx::Scrollbox::TCustomScrollBoxModel() { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGridModel |
Description
Creates an instance of TDataModel.
FMX.Grid.TGridModel.Create inherits from FMX.Controls.Model.TDataModel.Create. All content below this line refers to FMX.Controls.Model.TDataModel.Create.
Creates an instance of TDataModel.
AOwner
is a component that is responsible for destroying this data model once the data model is no longer necessary. The owner is usually an instance of a subclass of TPresentedControl, which provides a presentation for this data model, and destroys the data model when the control itself is destroyed.