SilverlightShow: Button Controls in Silverlight 2 Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples en-us SilverlightShow.net estoychev@completit.com (Emil Stoychev) Argotic Syndication Framework, http://www.codeplex.com/Argotic http://www.rssboard.org/rss-specification Button click event is firing twice http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx#comment3755 <p>Hello,I am having the button click event in my code throgh an event delegate.But the strange thing is that it gets fired twice when i clicked it just once.Some posts and suggessions have mentioned that e.handled=true will resolve the issue.But that also didnt fix my problem.I am in a kind of stuck to it.CAN ANY BODY PLEASE HELP?</p> <p>    </p> <p> </p> ( Subrat Kumar Parichha) http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx Thu, 10 Jun 2010 12:46:14 +0300 RE: Button Controls in Silverlight 2 http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx#comment1606 <p><span id="ctl00_cphMiddle_ContentPlaceHolderContent_itemComments_dlstComments_ctl06_lblCommentAuthor"><strong>Angelo</strong></span>, </p> <p>Every <em>UIElement</em> has a <em>MouseLeftButtonDown</em> and <em>MouseLeftButtonUp</em> events. You can attach to them. </p> <p>Additionally you can use a <a shape="rect" href="http://www.silverlightshow.net/items/Using-the-RepeatButton-control-in-Silverlight-2.aspx" shape="rect">RepeatButton</a> if you want an event to be fired during the mouse is pressed.</p> ( nikolayraychev) http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx Tue, 26 May 2009 06:28:10 +0300 RE: Button Controls in Silverlight 2 http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx#comment1604 ok forget it ... i created a timer ...that solved the question ...than you anyway  :) ( Angelo Santos) http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx Tue, 26 May 2009 04:49:52 +0300 Help !! http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx#comment1596 Can anyone tell me how to exectute a method while the LeftmouseButton is pressed ... and stop exectuting when the LeftMouseButton is up ?  thank you ( Angelo Santos) http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx Mon, 25 May 2009 11:19:19 +0300 RE: Button Controls in Silverlight 2 http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx#comment634 <p>Hi <strong><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl00_lblCommentAuthor">harish</span></strong><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl00_lblCommentAuthor">,</span></p> <p><span>The <em>IsPressed</em> property is read only so you can't change it with code.</span></p> ( nikolayraychev) http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx Thu, 06 Nov 2008 07:45:07 +0300 RE: Button Controls in Silverlight 2 http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx#comment624 <p>how can we change the Ispressed property value in silverlight 2?</p> ( harish) http://www.silverlightshow.net/items/Button-Controls-in-Silverlight-2-Beta-1.aspx Thu, 06 Nov 2008 00:30:10 +0300