diff --git a/samples/IntegrationTestApp/ShowWindowTest.axaml b/samples/IntegrationTestApp/ShowWindowTest.axaml
index a861130cd0..40c1642e91 100644
--- a/samples/IntegrationTestApp/ShowWindowTest.axaml
+++ b/samples/IntegrationTestApp/ShowWindowTest.axaml
@@ -13,8 +13,7 @@
Text="{Binding FrameSize, Mode=OneWay}"/>
-
+
diff --git a/samples/IntegrationTestApp/ShowWindowTest.axaml.cs b/samples/IntegrationTestApp/ShowWindowTest.axaml.cs
index 69b6d64557..42df0b704f 100644
--- a/samples/IntegrationTestApp/ShowWindowTest.axaml.cs
+++ b/samples/IntegrationTestApp/ShowWindowTest.axaml.cs
@@ -12,6 +12,7 @@ namespace IntegrationTestApp
{
InitializeComponent();
DataContext = this;
+ PositionChanged += (s, e) => this.GetControl("Position").Text = $"{Position}";
}
private void InitializeComponent()
@@ -22,6 +23,7 @@ namespace IntegrationTestApp
protected override void OnOpened(EventArgs e)
{
base.OnOpened(e);
+ this.GetControl("Position").Text = $"{Position}";
this.GetControl("ScreenRect").Text = $"{Screens.ScreenFromVisual(this)?.WorkingArea}";
this.GetControl("Scaling").Text = $"{PlatformImpl?.DesktopScaling}";