FMX.Presentation.Factory.TPresentationProxyFactory.Register

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Presentation.Factory.pas
FMX.Presentation.Factory.hpp
FMX.Presentation.Factory TPresentationProxyFactory

Description

Attempts to register the presentation proxy class with the specified name or the specified combination of control class and control type.

If the factory already contains a presentation proxy with the specified name, Register raises an EPresentationProxy exception.

See Also