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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.