MeasureOverride Method
Collapse the table of content
Expand the table of content

Grid.MeasureOverride Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Measures the children of a Grid in anticipation of arranging them during the ArrangeOverride pass.

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

protected override sealed Size MeasureOverride(
	Size constraint
)

Parameters

constraint
Type: System.Windows.Size
Indicates an upper limit size that should not be exceeded.

Return Value

Type: System.Windows.Size
Size that represents the maximum area available to the child content for layout.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft