Xamarin.Forms Guides | Samples

Xamarin.Forms.MasterBehavior Enumeration

Enumerates values that control how detail content is displayed in a master-detail page.

Syntax

public enum MasterBehavior

Members

Member NameDescription
DefaultDetails are displayed in the default way for the platform.
PopoverDetails pop over the page.
SplitDetails are always displayed in a split screen.
SplitOnLandscapeDetails are displayed in a split screen when the device is in landscape orientation.
SplitOnPortraitDetails are displayed in a split screen when the device is in portrait orientation.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.MasterBehavior are listed below.

See Also: Enum

Public Fields

DefaultMasterBehavior. Details are displayed in the default way for the platform.
PopoverMasterBehavior. Details pop over the page.
SplitMasterBehavior. Details are always displayed in a split screen.
SplitOnLandscapeMasterBehavior. Details are displayed in a split screen when the device is in landscape orientation.
SplitOnPortraitMasterBehavior. Details are displayed in a split screen when the device is in portrait orientation.