A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
462 B

using Avalonia;
using Avalonia.Controls;
using Avalonia.Interactivity;
namespace IntegrationTestApp;
public partial class TopmostWindowTest : Window
{
public TopmostWindowTest(string name)
{
Name = name;
InitializeComponent();
PositionChanged += (s, e) => CurrentPosition.Text = $"{Position}";
}
private void Button_OnClick(object? sender, RoutedEventArgs e)
{
Position += new PixelPoint(100, 100);
}
}