Edit

Share via


ActiveXHost.MeasureOverride(Size) Method

Definition

Returns the size of the window represented by the HwndHost object, as requested by layout engine operations.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

swConstraint
Size

The size of the HwndHost object.

Returns

The size of the HwndHost object.

Applies to