Skip to main content

MasterDetailPageContent.ViewState Property

Gets or sets the current display mode.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public MasterDetailPageContentViewState ViewState { get; set; }

Property Value

Type Description
MasterDetailPageContentViewState

A MasterDetailPageContentViewState enumeration value.

Available values:

Name Description
Stacked

The master pane takes all the available space. When a selection is made, the detail pane gets all the available space.

SideBySide

Both the master and detail panes are shown simultaneously.

Remarks

The Master-Detail Pattern is able to automatically change its display mode based on its current width. This behavior is regulated by the MasterDetailPageContent.EnableAdaptiveLayout property.

The MasterDetailPageContent.StackedStateThreshold property specifies the width, in pixels, at which the Stacked display mode is automatically enabled.

See Also