HwndHost.OnWindowPositionChanged Method (Rect)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Called when the hosted window's position changes.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected virtual void OnWindowPositionChanged(
	Rect rcBoundingBox


Type: System.Windows.Rect

The window's position.

System_CAPS_security Security Note

This type or member is not available in the Internet security zone.

Notes to Implementers:

Subclasses can override this method to resize the window based on the provided dimensions of rcBoundingBox.

.NET Framework
Available since 3.0
Return to top