SilverlightShow: Button Controls in Silverlight 2 Comments Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples en-us (Emil Stoychev) Argotic Syndication Framework, Button click event is firing twice <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) Thu, 10 Jun 2010 12:46:14 +0300 RE: Button Controls in Silverlight 2 <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="" shape="rect">RepeatButton</a> if you want an event to be fired during the mouse is pressed.</p> ( nikolayraychev) Tue, 26 May 2009 06:28:10 +0300 RE: Button Controls in Silverlight 2 ok forget it ... i created a timer ...that solved the question ...than you anyway  :) ( Angelo Santos) Tue, 26 May 2009 04:49:52 +0300 Help !! 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) Mon, 25 May 2009 11:19:19 +0300 RE: Button Controls in Silverlight 2 <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) Thu, 06 Nov 2008 07:45:07 +0300 RE: Button Controls in Silverlight 2 <p>how can we change the Ispressed property value in silverlight 2?</p> ( harish) Thu, 06 Nov 2008 00:30:10 +0300