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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.