Udostępnij za pośrednictwem


DataGridRowHeader.MeasureOverride Method

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

Measures the children of a DataGridRowHeader to prepare for arranging them during the ArrangeOverride pass.

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

Syntax

'Declaration
Protected Overrides Function MeasureOverride ( _
    availableSize As Size _
) As Size
protected override Size MeasureOverride(
    Size availableSize
)

Parameters

  • availableSize
    Type: System.Windows.Size
    The available size that this element can give to child elements. Indicates an upper limit that child elements should not exceed.

Return Value

Type: System.Windows.Size
The size that the DataGridRowHeader determines it needs during layout, based on its calculations of child object allocated sizes.

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.