DataGridColumnHeadersPresenter.

MeasureOverride(Size) Method

Summary

Measures the children of a DataGridColumnHeadersPresenter to prepare for arranging them during the System.Windows.FrameworkElement.ArrangeOverride(System.Windows.Size) pass.

Syntax

protected override Size MeasureOverride(Size availableSize)

Parameters

Name Type Description
availableSize 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 Description
Size The size that the DataGridColumnHeadersPresenter determines it needs during layout, based on its calculations of child object allocated sizes.