Skip to main content

MasterDetailPageContent.EnableAdaptiveLayout Property

Gets or sets whether to enable the adaptive layout behavior.

Namespace: DevExpress.UI.Xaml.Layout

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public bool EnableAdaptiveLayout { get; set; }

Property Value

Type Description
Boolean

true to enable the adaptive layout behavior; otherwise, false.

Remarks

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

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

See Also