FMX.Edit.Style.TStyledEdit.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

プロパティ

種類 可視性 ソース ユニット
constructor public
FMX.Edit.Style.pas
FMX.Edit.Style.hpp
FMX.Edit.Style TStyledEdit


説明

指定された AOwner 所有者と指定された AControl 表現用コントロールのための AModel データ モデル を持つ、スタイル付きプレゼンテーション オブジェクトを作成します。

指定されたデータ モデルのクラスは DefineModelClass に一致する必要があります。 そうでなければ、Create は、次のメッセージの EPresentationWrongModel 例外を発生させます:

モデルが有効なクラスではありません。 [<DefineModelClass.ClassName>] が必要でしたが、受け取ったのは [<AModel.ClassName>] でした

関連項目