You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Microsoft.Xaml.Behaviors.Wpf as dependency from NuGet instead the System.Windows.Interactivity.dll
This will remove the reference to System.Windows.Interactivity.dll which is sometimes bad for other projects which are also use this dll.
With this change it's necessary to change the namespace too, so this is a breaking change for all others too.
Steps to migrate:
Remove reference to Microsoft.Expression.Interactions and System.Windows.Interactivity
Install the Microsoft.Xaml.Behaviors.WpfNuGet package.
XAML files – replace the xmlns namespaces http://schemas.microsoft.com/expression/2010/interactivity and http://schemas.microsoft.com/expression/2010/interactions with http://schemas.microsoft.com/xaml/behaviors
C# files – replace the usings in c# files Microsoft.Xaml.Interactivity and Microsoft.Xaml.Interactions with Microsoft.Xaml.Behaviors
System.Windows.Markup.XamlParseException
HResult=0x80131501
Message='Add value to collection of type 'Microsoft.Xaml.Behaviors.TriggerCollection' threw an exception.' Line number '132' and line position '60'.
Source=PresentationFramework
Inner Exception 1:
ArgumentException: "EventTrigger" is not a valid type for the TriggerType parameter. Make sure "EventTrigger" derives from TriggerBase
for dotnetframework 4.7.2 for my wpf project how can I resolve this any idea
Apologies for late reply. I found issue as u mention scenario and changed its got work.
Thanks for the support.
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Bastian Schmidt <notifications@github.com>
Sent: Sunday, October 4, 2020 2:35:06 AM
To: MahApps/MahApps.Metro <MahApps.Metro@noreply.github.com>
Cc: navin21 <navin.vaddey21@hotmail.com>; Comment <comment@noreply.github.com>
Subject: Re: [MahApps/MahApps.Metro] Use Microsoft.Xaml.Behaviors.Wpf instead the System.Windows.Interactivity (#3400)
Maybe you are trying to mix types from Microsoft.Xaml.Behaviors.Wpf and System.Windows.Interactivity?
Are you using both assemblies?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#3400 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABHSYM6BGVMMJBIAR7VSYITSI6GYFANCNFSM4GJY6JEQ>.
Use Microsoft.Xaml.Behaviors.Wpf as dependency from NuGet instead the System.Windows.Interactivity.dll
This will remove the reference to System.Windows.Interactivity.dll which is sometimes bad for other projects which are also use this dll.
With this change it's necessary to change the namespace too, so this is a breaking change for all others too.
Steps to migrate:
Microsoft.Expression.Interactions
andSystem.Windows.Interactivity
Microsoft.Xaml.Behaviors.Wpf
NuGet package.http://schemas.microsoft.com/expression/2010/interactivity
andhttp://schemas.microsoft.com/expression/2010/interactions
withhttp://schemas.microsoft.com/xaml/behaviors
Microsoft.Xaml.Interactivity
andMicrosoft.Xaml.Interactions
withMicrosoft.Xaml.Behaviors
https://blogs.msdn.microsoft.com/dotnet/2018/12/10/open-sourcing-xaml-behaviors-for-wpf/
The text was updated successfully, but these errors were encountered: