HwndHost.OnWindowPositionChanged(Rect) HwndHost.OnWindowPositionChanged(Rect) HwndHost.OnWindowPositionChanged(Rect) HwndHost.OnWindowPositionChanged(Rect) Method

定義

裝載之視窗的位置變更時呼叫。Called when the hosted window's position changes.

protected:
 virtual void OnWindowPositionChanged(System::Windows::Rect rcBoundingBox);
[System.Security.SecurityCritical]
protected virtual void OnWindowPositionChanged (System.Windows.Rect rcBoundingBox);
abstract member OnWindowPositionChanged : System.Windows.Rect -> unit
override this.OnWindowPositionChanged : System.Windows.Rect -> unit
Protected Overridable Sub OnWindowPositionChanged (rcBoundingBox As Rect)

參數

rcBoundingBox
Rect Rect Rect Rect

視窗的位置。The window's position.

備註

重要

這個類型或成員不可以使用網際網路安全性區域中。This type or member is not available in the Internet security zone.

給繼承者的注意事項

子類別可以覆寫這個方法,以根據提供維度的視窗大小調整rcBoundingBoxSubclasses can override this method to resize the window based on the provided dimensions of rcBoundingBox.

適用於