FMX.Grid.Style.TGridHeaderItem.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TGridHeaderItem(System::Classes::TComponent* AOwner)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Grid.Style.pas FMX.Grid.Style.hpp |
FMX.Grid.Style | TGridHeaderItem |
Description
Creates a new instance of TPresentedControl.
FMX.Grid.Style.TGridHeaderItem.Create inherits from FMX.Controls.Presentation.TPresentedControl.Create. All content below this line refers to FMX.Controls.Presentation.TPresentedControl.Create.
Creates a new instance of TPresentedControl.
AOwner
takes ownership of the control and becomes responsible of destroying the control once the control is no longer necessary.
The control constructor creates a data model for the control. DefineModelClass determines the default class of data model for each subclass of TPresentedControl.
Create also sets the value of the CanUseDefaultPresentation property to True
.