FMX.Controls.Presentation.TPresentedControl.CanUseDefaultPresentation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CanUseDefaultPresentation: Boolean read FCanUseDefaultPresentation write FCanUseDefaultPresentation;

C++

__property bool CanUseDefaultPresentation = {read=FCanUseDefaultPresentation, write=FCanUseDefaultPresentation, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TPresentedControl

Description

Indicates whether a control tries to load the default presentation in case it cannot find a presentation.

In the scenario desribed above, LoadPresentation creates a default presentation that consists of: 'default' + GetPresentationSuffix.

The constructor sets the value of this property to True

See Also