Condividi tramite


DataGrid.ArrangeOverride Method

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

Arranges the content of the DataGrid.

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

Syntax

'Declaration
Protected Overrides Function ArrangeOverride ( _
    finalSize As Size _
) As Size
protected override Size ArrangeOverride(
    Size finalSize
)

Parameters

  • finalSize
    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 by the DataGrid.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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