예제 #1
0
 /// <summary>
 ///     Updates the natives window position. Derived classes override
 ///     this method to set the position of the native window.
 /// </summary>
 /// <param name="rectangle">
 ///     The rectangle the new window has to be positioned.
 /// </param>
 /// <seealso cref="GetWindowStartRectangle"/>
 protected override void UpdateWindowPosition(Avalonia.Rect rectangle)
 {
     _window.Resize((int)rectangle.X, (int)rectangle.Y, (int)rectangle.Width, (int)rectangle.Height);
 }