DataGridDetailsPresenter.MeasureOverride(Size) Method

Definition

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

protected:
 override System::Windows::Size MeasureOverride(System::Windows::Size availableSize);
protected override System.Windows.Size MeasureOverride (System.Windows.Size availableSize);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (availableSize As Size) As Size

Parameters

availableSize
Size

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

Returns

The size that is required to arrange child content.

Applies to

See also