FMX.CalendarEdit.Style.TStyledCalendarEdit.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TStyledCalendarEdit(System::Classes::TComponent* AOwner)/* overload */;
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledCalendarEdit(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : Fmx::Comboedit::Style::TStyledComboEdit(AOwner, AModel, AControl) { }

Properties

Type Visibility Source Unit Parent
constructor public
FMX.CalendarEdit.Style.pas
FMX.CalendarEdit.Style.hpp
FMX.CalendarEdit.Style TStyledCalendarEdit

Description



Creates a styled presentation object having the specified AOwner owner and AModel TDataModel for the specified AControl presented control.

FMX.CalendarEdit.Style.TStyledCalendarEdit.Create inherits from FMX.Edit.Style.TStyledEdit.Create. All content below this line refers to FMX.Edit.Style.TStyledEdit.Create.


Creates a styled presentation object having the specified AOwner owner and AModel TDataModel for the specified AControl presented control.

The class of the specified data model must match DefineModelClass. Otherwise, Create raises the EPresentationWrongModel exception with the following message:

Model is not a valid class. Expected [<DefineModelClass.ClassName>], but received [<AModel.ClassName>]

See Also