Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Possibly a bug? : More clarification on the error involving animations hosted within a WinForm.

Closed Thread
 
Thread Tools Display Modes
Old 02-04-2006   #1 (permalink)
Jason
Guest


 

Possibly a bug? : More clarification on the error involving animations hosted within a WinForm.

I thought I'd start with a clean message for clarity sake.

I have some XAML, specifically taken from a MSDN sample, and am hostinging
it within a UserControl. This user control and the Xaml are compiled against
the 2.0 framwork. However, the form hosting the UserControl is against the
1.1 Framework. The basic XAML runs in XAMLPad, and appears fine when being
hosted in the 1.1 framework. However, animations do not work and get a
run-time error.

This error is: "The Name 'myWidthAnimatedButton' could not be resolved in
the name scope of 'System.Windows.Controls.Button.'" That name is the name
of a button declared earlier in the XAML. (See the SDK documentation if you
want to see the code). Again, this XAML compliles fine in XAMLPad and runs
fine, too.

So, the 2.0 Control hosting the XAML works fine in a standalone 2.0 Project.
Just not in the 1.1 application (It's using a form of reflection to
dynamically load the DLL, I think).

Any ideas on how to address this? Or is this something explicitly not
supported?



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell check recommendations (v1.1 WinForm) SpaceMarine .NET General 1 04-08-2008 11:40 PM
Question on design involving some Generics Chris .NET General 0 04-06-2008 11:45 PM
Wpf in Winform DAve Avalon 1 03-13-2007 08:26 AM
How to use Winform NotifyIcon in WPF Green Horse Avalon 0 09-25-2006 01:44 PM
Re: Hosting a XAML page within a Winform. Jason Avalon 2 02-08-2006 11:32 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50