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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.