FMX.Grid.TCustomGrid.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TCustomGrid(System::Classes::TComponent* AOwner)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TCustomGrid

Description


Creates a new instance of TPresentedControl.

FMX.Grid.TCustomGrid.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.

See Also