Missing Microsoft.Xaml.Interactions.Core #19967
Unanswered
CernauskasR
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to Uno Platform and I am attempting to create a new style for ToggleSwitch. In order to use DataTriggerBehavior the Microsoft.Xaml.Interactions.Core needs to be in the xaml file where the style is defined. I have added CommunityToolkit.WinUi.Behaviors, ComunityToolkit.WinUI.Controls.Primatives, Uno.CommunityToolkit.WinUI.UI.Behaviors and Uno.CommunityToolkit.WinUI.UI.Controls from Nuget to the solution. Directory.Packages.props has all 4 packages included and the application's .csproj file is set to use the 2 CommunityToolkit packages when targeting Windows and the 2 Uno.CommunityToolkit packages for all other target platforms. When I attempt to add the Microsoft.Xaml.Interactions.Core to the .xaml file I get an error indicating that it is missing. What Have I missed? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions