FMX.Presentation.Factory.TPresentationProxyFactory.Presentations

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Presentations: TPresentationDictionary read FPresentations;

C++

__property System::Generics::Collections::TDictionary__2<System::UnicodeString,Fmx::Controls::Presentation::TPresentationProxyClass>* Presentations = {read=FPresentations};

Properties

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

Description

The collection of all <PresentationName, PresentationProxyClass> pairs registered in the current presentation proxy factory.

Each unit defining a 'styled' or 'platform' presentation of a presented control, in its initialization section, calls the Register method to register a <PresentationName, PresentationProxyClass> pair corresponding to the presentation defined in the unit. As a result <PresentationName, PresentationProxyClass> pairs are registered for all presentations, which are included into the project. Therefore, the Presentations of TPresentationProxyFactory contains the collection of all <PresentationName, PresentationProxyClass> pairs for all presentations included into the project.

See Also