Back to Devexpress

LayoutGroup.MeasureSelectedTabChildOnly Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutgroup-bfcb43ff.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

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

Property Value

TypeDescription
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

View

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.LayoutControl Namespace