Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ActiveXHost.MeasureOverride Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member overrides HwndHost.MeasureOverride(Size), and more complete documentation might be available in that topic.

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

Namespace:  System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)
protected override Size MeasureOverride(
	Size swConstraint
)
You cannot use methods in XAML.

Parameters

swConstraint
Type: System.Windows.Size

Return Value

Type: System.Windows.Size

The size of the HwndHost object.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP2

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.