Application.Current.LoadRootVisual is IronPython-specific; Application.Current is an instance of Microsoft.Scripting.Silverlight.DynamicApplication, which exists in Microsft.Scripting.Silverlight.dll.
Your best option for API docs is to look at the doc comments in the source code (http://ironpython.codeplex.com/sourcecontrol/changeset/view/61784?projectName=IronPython#992037 ... then navigate to ironPython 2.6, Src, Hosts, Silverlight, Microsoft.Scripting.Silverlight, DynmicApplication.cs). Documentation is lacking in general because we don't have a good place to put it; however the new ironpython website will be up shortly, which will include documentation for this. ~Jimmy Sent from my phone On Nov 29, 2009, at 4:50 AM, "Andy Sy" <[email protected]> wrote: > Silverlight Iron Python examples show the following method > to load an external XAML file: > > Application.Current.LoadRootVisual(ControlName(),"blah.xaml") > > Trouble is, I don't see LoadRootVisual() referred to in the > Silverlight API reference. Is this IronPython specific and > if so, is there a reference document that lists all such > functions? > _______________________________________________ > Users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
