<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>intellisense Work Item Rss Feed</title><link>http://www.codeplex.com/intellisense/WorkItem/List.aspx</link><description>intellisense Work Item Rss Description</description><item><title>CLOSED ISSUE: CreateFromXaml Issue</title><link>http://www.codeplex.com/intellisense/WorkItem/View.aspx?WorkItemId=1356</link><description>I can&amp;#39;t seem to find a way to create an object from straight Xaml text when using this project.  If I try the following&amp;#58;&lt;br /&gt;&lt;br /&gt;var myCanvas &amp;#61; this.plugIn.content.createFromXamlDownloader&amp;#40;sender, &amp;#34;myCanvas.xaml&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;I receive an error that &amp;#34;plugIn&amp;#34; does not have any properties.  &lt;br /&gt;&lt;br /&gt;So I am forced to use a strongly typed statement, such as&amp;#58;&lt;br /&gt;&lt;br /&gt;var myCanvas &amp;#61; Canvas.createFromXaml&amp;#40;downloader.getResponseText&amp;#40;&amp;#34;myCanvas.xaml&amp;#34;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;But this is not supported.  The &amp;#34;createFromXaml&amp;#34; method does not allow you to give it the Xaml to create the Canvas.  It requires only a host.&lt;br /&gt;&lt;br /&gt;Am I missing something&amp;#63;&lt;br /&gt;&lt;br /&gt;I was able to get around the issue by editing the Canvas.createFromXaml method in the &amp;#34;intellisense.js&amp;#34; file to the following&amp;#58;&lt;br /&gt;&lt;br /&gt;Canvas.createFromXaml &amp;#61; function&amp;#40;Host, Xaml&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#47;&amp;#47;&amp;#47; &amp;#60;returns type&amp;#61;&amp;#34;Canvas&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    if &amp;#40;&amp;#33;Host&amp;#41;&lt;br /&gt;        return&amp;#59;&lt;br /&gt;    try &amp;#123; &lt;br /&gt;    if &amp;#40;Host.content&amp;#41;&lt;br /&gt;        if &amp;#40;Xaml&amp;#41; &amp;#123;&lt;br /&gt;            return new Canvas&amp;#40;Host.content.createFromXaml&amp;#40;Xaml&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125; else &amp;#123;&lt;br /&gt;            return new Canvas&amp;#40;Host.content.createFromXaml&amp;#40;&amp;#34;&amp;#60;Canvas &amp;#47;&amp;#62;&amp;#34;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125; catch &amp;#40;ex&amp;#41; &amp;#123;&amp;#125;&lt;br /&gt;    if &amp;#40;Host.getHost&amp;#41;&lt;br /&gt;        return Canvas.CreateNew&amp;#40;Host.getHost&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;    return&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;So that if there is a &amp;#34;Xaml&amp;#34; argument it will create the element using the specified xaml.&lt;br /&gt;&lt;br /&gt;But, I don&amp;#39;t like editing the library, so if there is a better way please do tell.&lt;br /&gt;Comments: Chief7 indicated this is not currently something he needs.</description><author>JustinJosefAngel</author><pubDate>Thu, 25 Oct 2007 21:49:10 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: CreateFromXaml Issue 20071025094910P</guid></item><item><title>COMMENTED ISSUE: CreateFromXaml Issue</title><link>http://www.codeplex.com/intellisense/WorkItem/View.aspx?WorkItemId=1356</link><description>I can&amp;#39;t seem to find a way to create an object from straight Xaml text when using this project.  If I try the following&amp;#58;&lt;br /&gt;&lt;br /&gt;var myCanvas &amp;#61; this.plugIn.content.createFromXamlDownloader&amp;#40;sender, &amp;#34;myCanvas.xaml&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;I receive an error that &amp;#34;plugIn&amp;#34; does not have any properties.  &lt;br /&gt;&lt;br /&gt;So I am forced to use a strongly typed statement, such as&amp;#58;&lt;br /&gt;&lt;br /&gt;var myCanvas &amp;#61; Canvas.createFromXaml&amp;#40;downloader.getResponseText&amp;#40;&amp;#34;myCanvas.xaml&amp;#34;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;But this is not supported.  The &amp;#34;createFromXaml&amp;#34; method does not allow you to give it the Xaml to create the Canvas.  It requires only a host.&lt;br /&gt;&lt;br /&gt;Am I missing something&amp;#63;&lt;br /&gt;&lt;br /&gt;I was able to get around the issue by editing the Canvas.createFromXaml method in the &amp;#34;intellisense.js&amp;#34; file to the following&amp;#58;&lt;br /&gt;&lt;br /&gt;Canvas.createFromXaml &amp;#61; function&amp;#40;Host, Xaml&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#47;&amp;#47;&amp;#47; &amp;#60;returns type&amp;#61;&amp;#34;Canvas&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    if &amp;#40;&amp;#33;Host&amp;#41;&lt;br /&gt;        return&amp;#59;&lt;br /&gt;    try &amp;#123; &lt;br /&gt;    if &amp;#40;Host.content&amp;#41;&lt;br /&gt;        if &amp;#40;Xaml&amp;#41; &amp;#123;&lt;br /&gt;            return new Canvas&amp;#40;Host.content.createFromXaml&amp;#40;Xaml&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125; else &amp;#123;&lt;br /&gt;            return new Canvas&amp;#40;Host.content.createFromXaml&amp;#40;&amp;#34;&amp;#60;Canvas &amp;#47;&amp;#62;&amp;#34;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125; catch &amp;#40;ex&amp;#41; &amp;#123;&amp;#125;&lt;br /&gt;    if &amp;#40;Host.getHost&amp;#41;&lt;br /&gt;        return Canvas.CreateNew&amp;#40;Host.getHost&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;    return&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;So that if there is a &amp;#34;Xaml&amp;#34; argument it will create the element using the specified xaml.&lt;br /&gt;&lt;br /&gt;But, I don&amp;#39;t like editing the library, so if there is a better way please do tell.&lt;br /&gt;Comments: ** Comment from web user: JustinJosefAngel ** &lt;p&gt;Hey Cheif,&lt;/p&gt;&lt;p&gt;Is this the syntax you&amp;#39;d like to have&amp;#63; a CreateFromXaml with input XAML&amp;#63; &lt;/p&gt;&lt;p&gt;Right now, the syntax that&amp;#39;s supported is creating the XAML using the host and only then converting it to the approprite type.&lt;/p&gt;&lt;p&gt;Please tell me if that&amp;#39;s a feature you&amp;#39;d like to have - it&amp;#39;s about 5 seconds work to add the syntax you asked for. &lt;/p&gt;</description><author>JustinJosefAngel</author><pubDate>Thu, 18 Oct 2007 10:27:29 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: CreateFromXaml Issue 20071018102729A</guid></item><item><title>CLOSED ISSUE: canvas_top &amp; canvas_left</title><link>http://www.codeplex.com/intellisense/WorkItem/View.aspx?WorkItemId=1358</link><description>Where are they&amp;#63;&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t see them as properties of the silverlight objects.&lt;br /&gt;Comments: Chief7,&lt;br /&gt;&lt;br /&gt;All static dependency properties have added to V1.1. Thanks for you feedback!</description><author>JustinJosefAngel</author><pubDate>Thu, 18 Oct 2007 10:21:35 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: canvas_top &amp; canvas_left 20071018102135A</guid></item><item><title>CREATED ISSUE: canvas_top &amp; canvas_left</title><link>http://www.codeplex.com/intellisense/WorkItem/View.aspx?WorkItemId=1358</link><description>Where are they&amp;#63;&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t see them as properties of the silverlight objects.&lt;br/&gt;</description><author>chief7</author><pubDate>Mon, 10 Sep 2007 20:06:16 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: canvas_top &amp; canvas_left 20070910080616P</guid></item><item><title>CREATED ISSUE: CreateFromXaml Issue</title><link>http://www.codeplex.com/intellisense/WorkItem/View.aspx?WorkItemId=1356</link><description>I can&amp;#39;t seem to find a way to create an object from straight Xaml text when using this project.  If I try the following&amp;#58;&lt;br /&gt;&lt;br /&gt;var myCanvas &amp;#61; this.plugIn.content.createFromXamlDownloader&amp;#40;sender, &amp;#34;myCanvas.xaml&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;I receive an error that &amp;#34;plugIn&amp;#34; does not have any properties.  &lt;br /&gt;&lt;br /&gt;So I am forced to use a strongly typed statement, such as&amp;#58;&lt;br /&gt;&lt;br /&gt;var myCanvas &amp;#61; Canvas.createFromXaml&amp;#40;downloader.getResponseText&amp;#40;&amp;#34;myCanvas.xaml&amp;#34;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;But this is not supported.  The &amp;#34;createFromXaml&amp;#34; method does not allow you to give it the Xaml to create the Canvas.  It requires only a host.&lt;br /&gt;&lt;br /&gt;Am I missing something&amp;#63;&lt;br /&gt;&lt;br /&gt;I was able to get around the issue by editing the Canvas.createFromXaml method in the &amp;#34;intellisense.js&amp;#34; file to the following&amp;#58;&lt;br /&gt;&lt;br /&gt;Canvas.createFromXaml &amp;#61; function&amp;#40;Host, Xaml&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#47;&amp;#47;&amp;#47; &amp;#60;returns type&amp;#61;&amp;#34;Canvas&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    if &amp;#40;&amp;#33;Host&amp;#41;&lt;br /&gt;        return&amp;#59;&lt;br /&gt;    try &amp;#123; &lt;br /&gt;    if &amp;#40;Host.content&amp;#41;&lt;br /&gt;        if &amp;#40;Xaml&amp;#41; &amp;#123;&lt;br /&gt;            return new Canvas&amp;#40;Host.content.createFromXaml&amp;#40;Xaml&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125; else &amp;#123;&lt;br /&gt;            return new Canvas&amp;#40;Host.content.createFromXaml&amp;#40;&amp;#34;&amp;#60;Canvas &amp;#47;&amp;#62;&amp;#34;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125; catch &amp;#40;ex&amp;#41; &amp;#123;&amp;#125;&lt;br /&gt;    if &amp;#40;Host.getHost&amp;#41;&lt;br /&gt;        return Canvas.CreateNew&amp;#40;Host.getHost&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;    return&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;So that if there is a &amp;#34;Xaml&amp;#34; argument it will create the element using the specified xaml.&lt;br /&gt;&lt;br /&gt;But, I don&amp;#39;t like editing the library, so if there is a better way please do tell.&lt;br/&gt;</description><author>chief7</author><pubDate>Mon, 10 Sep 2007 18:10:59 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: CreateFromXaml Issue 20070910061059P</guid></item></channel></rss>