Open vgromfeld opened 8 months ago
This will not work in Window you need a Page
This will not work in Window you need a Page
@vgromfeld did you try elsewhere?
Otherwise I guess it's related to https://github.com/microsoft/microsoft-ui-xaml/issues/5515
Describe the bug
The application crash when using
x:Bind
to set theStateTrigger.IsActive
property.Steps to reproduce the bug
Add the following XAML code in the
MainWindow
XAML of a blank WinAppSDK C# app:Run the application. It crashes at startup because the
StateTrigger
instance isnull
inExpected behavior
The generated code should work as in UWP apps where this was working without any issue.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.1: 1.5.240311000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response