MasterDetailPageContent.EnableAdaptiveLayout Property

Gets or sets whether to enable the adaptive layout behavior.

Namespace: DevExpress.UI.Xaml.Layout

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


public bool EnableAdaptiveLayout { get; set; }
Public Property EnableAdaptiveLayout As Boolean

Property Value

Type Description

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


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