![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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? |
![]() |
| 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 |