StackPanel.ArrangeOverride Method

Positions child elements and determines a size for the derived class.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Protected Overrides NotOverridable Function ArrangeOverride ( _
    arrangeSize As Size _
) As Size
protected override sealed Size ArrangeOverride(
    Size arrangeSize
)

Parameters

  • arrangeSize
    Type: System.Windows.Size
    The final area within the parent that this element should use to arrange itself and its children.

Return Value

Type: System.Windows.Size
The actual size used.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.