<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx</link><description>You may have noticed that right clicking on a Silverlight application brings up the following context menu and configuration dialog: Context Menu: Configuration Dialog: So what if you want to use right click in your application? While right click functionality</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#252990</link><pubDate>Sun, 19 Jul 2009 14:05:25 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:252990</guid><dc:creator>mike.snow</dc:creator><description>&lt;p&gt;Ah, good to know. I'll take a look...&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=252990" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#252942</link><pubDate>Sun, 19 Jul 2009 09:48:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:252942</guid><dc:creator>Axelino</dc:creator><description>&lt;p&gt;The code worked great with Silverlight 3 Beta. But now with the official version of Silverlight 3, the &amp;quot;Silverlight&amp;quot; contextmenu appears again, and one has to click two times before the custom context menu appears. Aarghhhh!&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=252942" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#248897</link><pubDate>Mon, 13 Jul 2009 22:11:06 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:248897</guid><dc:creator>mike.snow</dc:creator><description>&lt;p&gt;Works for me, also I do not use VB.&lt;/p&gt;
&lt;p&gt;Eventually I try to find time to go back and re-write these older blogs to make certain everyting works great with SL3. These were written back in SL2.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=248897" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#242499</link><pubDate>Sat, 04 Jul 2009 11:08:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:242499</guid><dc:creator>sinni800</dc:creator><description>&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HtmlPage.Document.AttachEvent(&amp;quot;oncontextmenu&amp;quot;, New EventHandler(AddressOf OnContextMenu)) &lt;/p&gt;
&lt;p&gt;Seems not to work either :P Well it doesnt get the right clicks, that is.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=242499" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#242490</link><pubDate>Sat, 04 Jul 2009 10:45:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:242490</guid><dc:creator>sinni800</dc:creator><description>&lt;p&gt;Well it works in c# but damn.. is there a way for VB?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=242490" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#242485</link><pubDate>Sat, 04 Jul 2009 10:28:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:242485</guid><dc:creator>sinni800</dc:creator><description>&lt;p&gt;Sorry for posting again: Doesn't work.&lt;/p&gt;
&lt;p&gt;HtmlPage.Document.AttachEvent(&amp;quot;oncontextmenu&amp;quot;, Me.OnContextMenu(Nothing, Nothing))&lt;/p&gt;
&lt;p&gt;He says:&lt;/p&gt;
&lt;p&gt;Fehler bei der &amp;#220;berladungsaufl&amp;#246;sung, da keine zugreifbare &amp;quot;AttachEvent&amp;quot; mit diesen Argumenten aufgerufen werden kann: &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;'Public Function AttachEvent(eventName As String, handler As System.EventHandler(Of System.Windows.Browser.HtmlEventArgs)) As Boolean': Der Ausdruck ergibt keinen Wert.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;'Public Function AttachEvent(eventName As String, handler As System.EventHandler) As Boolean': Der Ausdruck ergibt keinen Wert.	&lt;/p&gt;
&lt;p&gt;AttachEvent can not be executed with those Arguments. The expression doesn't result in a value.&lt;/p&gt;
&lt;p&gt;I tried to use onContextMenu(of HtmlEventArtgs) which is implied up there but nothing. &lt;/p&gt;
&lt;p&gt;So what do I do? :P&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=242485" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#242483</link><pubDate>Sat, 04 Jul 2009 10:24:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:242483</guid><dc:creator>sinni800</dc:creator><description>&lt;p&gt;It won't work for me either. I started Visual Studio, made a Silverlight v2 app, let the code convert to vb.net, copied it, and the result: &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HtmlPage.Document.AttachEvent(&amp;quot;oncontextmenu&amp;quot;, Me.OnContextMenu)&lt;/p&gt;
&lt;p&gt;F&amp;#252;r den Parameter &amp;quot;e&amp;quot; von &amp;quot;Private Sub OnContextMenu(sender As Object, e As System.Windows.Browser.HtmlEventArgs)&amp;quot; wurde kein Argument angegeben.	&lt;/p&gt;
&lt;p&gt;F&amp;#252;r den Parameter &amp;quot;sender&amp;quot; von &amp;quot;Private Sub OnContextMenu(sender As Object, e As System.Windows.Browser.HtmlEventArgs)&amp;quot; wurde kein Argument angegeben.&lt;/p&gt;
&lt;p&gt;He states that he can not find a argument for the parameters &amp;quot;e&amp;quot; and &amp;quot;sender&amp;quot;. Which is strange... Shouldn't it just take no arguments since it's being called by the event handler thingie, with the RIGHT arguments?&lt;/p&gt;
&lt;p&gt;Well I'll just test &amp;quot;Nothing&amp;quot; since I have nothing.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=242483" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#230287</link><pubDate>Sun, 07 Jun 2009 16:25:56 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:230287</guid><dc:creator>Montago</dc:creator><description>&lt;p&gt;I can't make this sample work :(&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=230287" width="1" height="1"&gt;</description></item><item><title>7 tips for extending browser functionality to Silverlight apps | Igor Ostrovsky Blogging</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#228883</link><pubDate>Thu, 04 Jun 2009 07:50:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:228883</guid><dc:creator>7 tips for extending browser functionality to Silverlight apps | Igor Ostrovsky Blogging</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;7 tips for extending browser functionality to Silverlight apps | Igor Ostrovsky Blogging&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=228883" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#226089</link><pubDate>Thu, 28 May 2009 21:22:22 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:226089</guid><dc:creator>Axelino</dc:creator><description>&lt;p&gt;Also thanks to scommisso. I began to write the same class he did :-)&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=226089" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#226084</link><pubDate>Thu, 28 May 2009 21:15:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:226084</guid><dc:creator>Axelino</dc:creator><description>&lt;p&gt;Thanks!!! Before I read this post, I tried the javascript solution with something like &amp;quot;silverlightControl.Content.ActualSilverlightControl.ProcessMouseEvent(e);&amp;quot; which is an ugly hack and doesn't seem to work with Silverlight 3. &lt;/p&gt;
&lt;p&gt;But this solution works really great! You are my hero :-)&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=226084" width="1" height="1"&gt;</description></item><item><title>presentão de Ano Novo: dúzias de dicas e tutoriais de Silverlight ;)</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#155389</link><pubDate>Sat, 03 Jan 2009 11:25:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155389</guid><dc:creator>o UAU nosso de cada dia</dc:creator><description>&lt;p&gt;essa lista eu copiei desse blog b&amp;#225;rbaro (acompanhe por RSS voc&amp;#234; tamb&amp;#233;m): uma lista de dicas super &amp;#250;teis&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=155389" width="1" height="1"&gt;</description></item><item><title>Silverlight Tips of the Day - Summary Outline</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#155144</link><pubDate>Fri, 02 Jan 2009 22:57:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155144</guid><dc:creator>Silverlight Tips of the Day - Blog by Mike Snow</dc:creator><description>&lt;p&gt;The purpose of this post is to create an outline summary all the blogs from my Silverlight tips of the&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=155144" width="1" height="1"&gt;</description></item><item><title>Silverlight Tips of the Day - Summary Outline</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#155143</link><pubDate>Fri, 02 Jan 2009 22:57:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155143</guid><dc:creator>Silverlight Tips of the Day - Blog by Mike Snow</dc:creator><description>&lt;p&gt;The purpose of this post is to create an outline summary all the blogs from my Silverlight tips of the&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=155143" width="1" height="1"&gt;</description></item><item><title>silverlight2自定义鼠标右键菜单，屏蔽原来右键菜单显示的内容，打造自己喜欢的菜单。</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/07/01/tip-of-the-day-14-how-to-right-click-on-a-silverlight-application.aspx#149624</link><pubDate>Thu, 18 Dec 2008 07:13:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:149624</guid><dc:creator>Leochen</dc:creator><description>&lt;p&gt;同flash一样，silverlight默认的右键菜单显示的内容也是关于这个插件的信息，要自定义silverlight右键菜单，其实也是很简单的。&lt;/p&gt;
&lt;p&gt;首先需要自定义右键菜单的内容（当然你也可以根据需要...&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=149624" width="1" height="1"&gt;</description></item></channel></rss>