FMX.Calendar.TCalendar.OnPresentationNameChoosing

From RAD Studio API Documentation

Delphi

property OnPresentationNameChoosing: TPresenterNameChoosingEvent read FOnPresenterNameChoosing write FOnPresenterNameChoosing;

C++

__property OnPresentationNameChoosing;

Properties

Type Visibility Source Unit Parent
event published
FMX.Calendar.pas
FMX.Calendar.hpp
FMX.Calendar TCalendar

Description

Occurs right before your control loads its presentation, and it allows you to define a custom presentation proxy name different from the name that DefinePresentationName returns. {{#multireplace:FMX.Calendar.TCalendar.OnPresentationNameChoosing|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.Presentation.TPresentedControl.OnPresentationNameChoosing|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.Presentation.TPresentedControl.OnPresentationNameChoosing|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs right before your control loads its presentation, and it allows you to define a custom presentation proxy name different from the name that DefinePresentationName returns.

The event handler of OnPresentationNameChoosing receives the following parameters:

  • Sender is your control.
  • PresenterName is the name that DefinePresentationName returns. Assign PresenterName a new, previously-registered presentation proxy name to use the matching presentation proxy class for the presentation of the control.

See Also