Xceed Toolkit Plus for WPF v4.6 Documentation
MeasureChildrenOverride Method (AutoStretchStackPanel)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Panels Namespace > AutoStretchStackPanel Class : MeasureChildrenOverride Method
Measure each element and find out the factor to layout each child in an evenly manner to stretch across the Orientation of the panel
Syntax
'Declaration
 
Protected Overrides Function MeasureChildrenOverride( _
   ByVal children As UIElementCollection, _
   ByVal constraint As Size _
) As Size
'Usage
 
Dim instance As AutoStretchStackPanel
Dim children As UIElementCollection
Dim constraint As Size
Dim value As Size
 
value = instance.MeasureChildrenOverride(children, constraint)
protected override Size MeasureChildrenOverride( 
   UIElementCollection children,
   Size constraint
)

Parameters

children
constraint
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AutoStretchStackPanel Class
AutoStretchStackPanel Members
Base Implementation in MeasureChildrenOverride