FireCubeStudios / Run

WinUI 3 Run
https://www.microsoft.com/store/apps/9NQGV64S5136
MIT License
150 stars 10 forks source link

Using BaseWindow inheritance #4

Closed FireCubeStudios closed 1 year ago

FireCubeStudios commented 1 year ago

The BaseWindow does not work when inheriting for a runbox window due to

WinRT information: Unable to cast object of type 'WinRT.IInspectable' to type 'Microsoft.UI.Xaml.Controls.Button'.

For now all code is in the mainwindow but it should ideally move to base window for titlebar and close button

FireCubeStudios commented 1 year ago

Ok you cant have xaml in basewindow lol