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
{{ message }}
Repository navigation
Missing System.Windows.Media.Animation.BackEase in WpfGeneratedKnownTypes #6588
The System.Xaml.dll!System.Xaml.Schema.XamlObjectCreationFactory can create object directly by WpfGeneratedKnownTypes help. But we can not find the System.Windows.Media.Animation.BackEase in WpfGeneratedKnownTypes which means we should use the reflection to create the object.
While System.Xaml.dll!System.Xaml.Schema.XamlObjectCreationFactory can create object directly by WpfGeneratedKnownTypes help, it may limit the type of objects that can be created. With the current approach (using reflection (albeit slow)), XamlObjectCreationFactory can create user-defined objects as well.
@Kuldeep-MS Thank you. This is not a bug. And I means that we should add the System.Windows.Media.Animation.BackEase to WpfGeneratedKnownTypes to improve performance. So I can not add the reproducer for the screenshot
Activity
pchaurasia14 commentedon May 17, 2022
While
System.Xaml.dll!System.Xaml.Schema.XamlObjectCreationFactorycan create object directly byWpfGeneratedKnownTypeshelp, it may limit the type of objects that can be created. With the current approach (using reflection (albeit slow)),XamlObjectCreationFactorycan create user-defined objects as well.This may have been by design.
lindexi commentedon May 17, 2022
@pchaurasia14 How about add the
System.Windows.Media.Animation.BackEaseto WpfGeneratedKnownTypes ?pchaurasia14 commentedon May 19, 2022
@lindexi - Yes, we can and will take it up once the higher priority items are dealt with.
Kuldeep-MS commentedon Oct 27, 2022
@lindexi - can you please add reproducer for the screenshot you attached in the issue? this will help me to better understand the context.
lindexi commentedon Oct 28, 2022
@Kuldeep-MS Thank you. This is not a bug. And I means that we should add the
System.Windows.Media.Animation.BackEaseto WpfGeneratedKnownTypes to improve performance. So I can not add the reproducer for the screenshotKuldeep-MS commentedon Oct 31, 2022
Hi @lindexi,
would you like to contribute on this issue. For your reference similar issue has been fixed here #7164
lindexi commentedon Nov 1, 2022
@Kuldeep-MS Yes, and should I wait the #7164 merged?
Kuldeep-MS commentedon Nov 1, 2022
@lindexi - Yes, please wait till #7164 is merged. We will be taking #7164 in upcoming CTP(s).
Kuldeep-MS commentedon Jan 4, 2023
@lindexi - #7164 is merged. You may resume working on this.
lindexi commentedon Jan 6, 2023
@Kuldeep-MS Thank you. I will begin
Adding System.Windows.Media.Animation.BackEase as known type.
lindexi commentedon Jul 19, 2023
@Kuldeep-MS I create #8039 and could you review it. I don't know if I wrote the right code
Adding System.Windows.Media.Animation.BackEase as known type.