DataGridDetailsPresenter.MeasureOverride Method (Size)

.NET Framework (current version)
 

Determines the size of the ContentPresenter object based on the sizing properties, margin, and requested size of the child content.

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

protected override Size MeasureOverride(
	Size availableSize
)

Parameters

availableSize
Type: System.Windows.Size

The available size that this element can give to child elements.

Return Value

Type: System.Windows.Size

The size that is required to arrange child content.

.NET Framework
Available since 4.0
Return to top
Show: