FMX.SearchBox.Style.TStyledSearchBox.Create
C++
/* TStyledEdit.Create */ inline __fastcall virtual TStyledSearchBox(System::Classes::TComponent* AOwner)/* overload */ : Fmx::Edit::Style::TStyledEdit(AOwner) { }
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledSearchBox(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : Fmx::Edit::Style::TStyledEdit(AOwner, AModel, AControl) { }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | FMX.SearchBox.Style.hpp | FMX.SearchBox.Style | TStyledSearchBox |
説明
指定された AOwner
所有者と指定された AControl
表現用コントロールのための AModel
データ モデル を持つ、スタイル付きプレゼンテーション オブジェクトを作成します。
指定されたデータ モデルのクラスは DefineModelClass に一致する必要があります。 そうでなければ、Create は、次のメッセージの EPresentationWrongModel 例外を発生させます:
モデルが有効なクラスではありません。 [<DefineModelClass.ClassName>] が必要でしたが、受け取ったのは [<AModel.ClassName>] でした
関連項目
- System.Classes.TComponent.Owner
- FMX.Presentation.Style.TStyledPresentation
- FMX.Presentation.Style.TStyledPresentation.PresentedControl