HwndHost.OnWindowPositionChanged Method (Rect)


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