API:FMX.MultiView.Types.TCustomPopover

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Controls.TPopupFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomPopover

Delphi

TCustomPopover = class(TPopup)

C++

class PASCALIMPLEMENTATION TCustomPopover : public Fmx::Controls::TPopup

Properties

Type Visibility Source Unit Parent
class public
FMX.MultiView.Types.pas
FMX.MultiView.Types.hpp
FMX.MultiView.Types FMX.MultiView.Types

Description

TPopup provides a pop-up window.

FMX.MultiView.Types.TCustomPopover inherits from FMX.Controls.TPopup. All content below this line refers to FMX.Controls.TPopup.

TPopup provides a pop-up window.

Use TPopup to display content in a temporary window. By default, a TPopup content is empty. You can add any number of objects to the TPopup content:

To position a TPopup, use the following properties:

When TPopup is open, it does not reposition itself if its parent is repositioned. To drag a TPopup together with its parent, set the DragWithParent property to True.

TPopup supports animations and graphic effects. The animations and graphic effects are applied to the displayed window, and not to every child of the TPopup. For opacity effects, set the effects directly to the TPopup children. TPopup children do not inherit the animations and effects applied to the parent.

If TPopup is not explicitly sized, it is sized by its content. In this case, if an effect is applied that increases the content's displayed size, part of the content might be obscured. To avoid this, explicitly set the size for TPopup or set its bounds through the BoundsRect, Margins, and Padding properties.

To open and explicitly close a TPopup, set the TPopup.IsOpen property to True and False, respectively. (We do not recommend using Popup and ClosePopup.)

See Also