Grid.ArrangeOverride Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Arranges the content of a Grid element.

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


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


  • arrangeSize
    Type: System.Windows.Size
    Specifies the size this Grid element should use to arrange its child elements.

Return Value

Type: System.Windows.Size
Size that represents the arranged size of this Grid element and its children.

Version Information


Supported in: 5, 4, 3

Silverlight for Windows Phone

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


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

See Also


Other Resources