Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MeasureOverride Method

DataGridCellsPanel.MeasureOverride Method

.NET Framework 4.6 and 4.5

Determines the desired size of the panel.

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

protected override Size MeasureOverride(
	Size constraint
)

Parameters

constraint
Type: System.Windows.Size

The maximum size that the panel can occupy.

Return Value

Type: System.Windows.Size
The desired size of the panel.

The DataGridCellsPanel class uses the MeasureOverride method to determine which cells are visible and which cells are virtualized.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft