FMX.Presentation.Factory.TPresentationProxyFactory.Replace

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

Delphi

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

C++

void __fastcall Replace(const System::UnicodeString APresentationName, const Fmx::Controls::Presentation::TPresentationProxyClass APresentationProxyClass)/* overload */;
void __fastcall Replace(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


説明

既存のプレゼンテーション プロキシ クラスを新しいものに置き換えます。

既存のプレゼンテーション プロキシ クラスを指定するには、次のいずれかの方法を使用できます。

  • 名前(APresentationName)で指定する。
  • コントロールのクラスAControlClass)と種類AControlType)で指定する。

APresentationProxyClass パラメータは新しいプレゼンテーション プロキシ クラスです。

関連項目