LayoutGroup.MeasureSelectedTabChildOnly Property

In a tabbed UI, gets or sets if a measurement operation (computing control sizes and positioning) is performed for a tab only when this tab is selected. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.1.dll


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

Property Value

Type Description

true if a measurement operation is performed for a tab's contents when this tab is selected; false if measurement operations are performed for selected and non-selected tabs simultaneously when the LayoutGroup is loaded. The default value is false.


You can make a LayoutGroup display its child items as tabs by setting the LayoutGroup's LayoutGroup.View property to Tabs. By default, measurement operations are performed for all tabs when a LayoutGroup is displayed. Set the MeasureSelectedTabChildOnly property to true to perform measurement operations when tabs are selected. This will improve the initial loading performance but slow down switching from one tab to another tab that hasn't yet been selected.

See Also