FMX.Controls.Model.TDataModel.Owner
Delphi
property Owner: TComponent read FOwner;
C++
__property System::Classes::TComponent* Owner = {read=FOwner};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Controls.Model.pas FMX.Controls.Model.hpp |
FMX.Controls.Model | TDataModel |
Description
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.
You define the owner of the data model when you create the data model.