FMX.Grid.TStringGridModel.Create
Delphi
constructor Create(const AOwner: TComponent); override;
C++
__fastcall virtual TStringGridModel(System::Classes::TComponent* const AOwner)/* overload */;
/* TMessageSender.Create */ inline __fastcall virtual TStringGridModel()/* overload */ : TGridModel() { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TStringGridModel |
Description
Creates an instance of TDataModel.
Creates an instance of TDataModel.
FMX.Grid.TStringGridModel.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.