Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public bool MeasureSelectedTabChildOnly { get; set; }

Property Value

Type Description
Boolean

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.

Remarks

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