FMX.Controls.Presentation.TPresentedControl.LoadPresentation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadPresentation; virtual;

C++

virtual void __fastcall LoadPresentation(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TPresentedControl

Description

Loads the presentation proxy of your control if it is not loaded already.

LoadPresentation loads a new presentation proxy if all the following requirements are met:

If the current platform does not support the specified presentation proxy class and the value of CanUseDefaultPresentation is True, the control type switches to its default value, TControlType.Styled.

LoadPresentation is called automatically after the control is created or loaded.

See Also