FMX.MultiView.TMultiView.Mode
Delphi
property Mode: TMultiViewMode read FMode write SetMode default 0;
C++
__property Mode = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.MultiView.pas FMX.MultiView.hpp |
FMX.MultiView | TMultiView |
Description
Specifies the master pane presentation mode.
FMX.MultiView.TMultiView.Mode inherits from FMX.MultiView.TCustomMultiView.Mode. All content below this line refers to FMX.MultiView.TCustomMultiView.Mode.
Specifies the master pane presentation mode.
Use this property to set or retrieve the master pane presentation mode. This property is a value of the TMultiViewMode type. TMultiViewMode is an enumeration that supports the following values:
Mode | Master Pane Presentation |
---|---|
Drawer | Drawer (Push/Overlap) |
Panel | Docked panel |
PlatformBehaviour | (for details, see the tables below) |
Popover | Pop-up menu |
NavigationPane | Navigation pane |
Custom | For details, see Custom Mode description. |
For detailed information about the presentation modes, see Master Pane Presentation Modes.
Platform Dependent Behavior Mode
In the PlatformBehaviour
mode, you let the application automatically select the master pane presentation mode. In this scenario, the application behavior depends on the device type, orientation, and the operation system version (only for desktop applications) as described in the following tables:
Mobile Applications
Device Type | Device Orientation | Master Pane Presentation |
---|---|---|
Phone | Landscape, Portrait | Drawer (push/overlap) |
Tablet | Landscape | Docked panel |
Tablet | Portrait | Drawer (push/overlap) |
Desktop Applications
OS Version | Master Pane Presentation |
---|---|
Windows 10 | Navigation pane |
Windows 8 or earlier | Docked panel |
OS X | Docked panel |