From: Jimmy on
Add references to:
"PresentationCore"
and "PresentationFramework"
for the System.Windows and System.Windows.Controls etc namespace.



Ian Hobson wrote:

Where is StackPanel in IronPython / .Net 4?
27-Jun-10

Hi All,

According to this page

http://msdn.microsoft.com/en-us/library/system.windows.controls.stackpanel.aspx

StackPanel is in the System.Windows.Controls Namespace

When I try and set up a reference to that Namespace I get a "Could not
add reference to assembly
System.Windows.Controls" error on the line that reads

clr.AddReference('System.Windows.Controls')

Can anyone shed light on what is going wrong?

Many thanks

Ian

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
XAML Organizer
http://www.eggheadcafe.com/tutorials/aspnet/ac373a5d-e497-4e07-9186-12166e83a024/xaml-organizer.aspx