FMX.Presentation.Factory.TPresentationProxyFactory.Register

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

Delphi

procedure Register(const APresentationName: string; const APresentationProxyClass: TPresentationProxyClass); overload;
procedure Register(const AControlClass: TClass; const AControlType: TControlType;  const APresentationProxyClass: TPresentationProxyClass); overload;

C++

void __fastcall Register(const System::UnicodeString APresentationName, const Fmx::Controls::Presentation::TPresentationProxyClass APresentationProxyClass)/* overload */;
void __fastcall Register(const System::TClass AControlClass, const Fmx::Controls::TControlType AControlType, const Fmx::Controls::Presentation::TPresentationProxyClass APresentationProxyClass)/* overload */;

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
FMX.Presentation.Factory.pas
FMX.Presentation.Factory.hpp
FMX.Presentation.Factory TPresentationProxyFactory


説明

指定された名前、または指定されたコントロールのクラスと種類の組み合わせで、プレゼンテーション プロキシ クラスの登録を試みます。

ファクトリが、指定された名前のプレゼンテーション プロキシをすでに保有している場合、RegisterEPresentationProxy 例外を発生させます。

関連項目