Επεξεργασία

Κοινή χρήση μέσω


HwndHost.OnWindowPositionChanged(Rect) Method

Definition

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

Parameters

rcBoundingBox
Rect

The window's position.

Attributes

Remarks

Important

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

Notes to Inheritors

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

Applies to