FMX.Presentation.Factory.TPresentationProxyFactory.Replace

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
FMX.Presentation.Factory.pas
FMX.Presentation.Factory.hpp
FMX.Presentation.Factory TPresentationProxyFactory


Beschreibung

Ersetzt eine vorhandene Darstellungs-Proxy-Klasse durch eine neue.

Sie können die vorhandene Darstellungs-Proxy-Klasse auf eine der folgenden Weisen angeben:

  • Anhand des Namens (APresentationName).
  • Anhand der Klasse (AControlClass) und des Typs (AControlType) des Steuerelements.

Der Parameter APresentationProxyClass ist die neue Darstellungs-Proxy-Klasse.

Siehe auch