From RAD Studio API Documentation
Jump to: navigation, search


property Mode: TMultiViewMode read FMode write SetMode default TMultiViewMode.PlatformBehaviour;


__property TMultiViewMode Mode = {read=FMode, write=SetMode, default=0};


Type Visibility Source Unit Parent
property public
FMX.MultiView TCustomMultiView


Specifies the presentation mode of the master pane.

The TMultiViewMode type provides the following presentation modes:

Mode Master Pane Presentation
Drawer In the Drawer mode, the master pane can be whether hidden or can slide to overlap the detail pane.
Panel Master and detail panels are always displayed, independently of a device type and orientation. The master panel is docked to the left or right of the MultiView component.
PlatformBehaviour An application automatically selects the master pane presentation mode depending on the device type and orientation, as described in the tables in the Platform Dependent Behavior Mode subsection below.
Popover Pop-up menu.
NavigationPane Navigation pane.
Custom The user can customize the master pane presentation. The custom presentation class should be set in the CustomPresentationClass property. 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

See Also