HwndHost.OnWindowPositionChanged(Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.