<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://azurecoding.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>XAML Default Button</title><link>http://azurecoding.net/blogs/icbtw/archive/2009/09/02/xaml-default-button.aspx</link><description>I was working with a client that wanted to have a default button clicked when an enter key is pressed in a textbox (password box to be more specific) within a Silverlight or WPF application. I didn&amp;#39;t think much of it. I&amp;#39;ll just listen to the event</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Text Boxes and Default Buttons in Silverlight and WPF</title><link>http://azurecoding.net/blogs/icbtw/archive/2009/09/02/xaml-default-button.aspx#7033</link><pubDate>Tue, 27 Jul 2010 22:14:40 GMT</pubDate><guid isPermaLink="false">6e97e1e3-dc93-4c0d-b73f-e698f7d56013:7033</guid><dc:creator>Neudesic Blogs</dc:creator><description>&lt;p&gt;Text Boxes and Default Buttons in Silverlight and WPF&lt;/p&gt;
&lt;img src="http://azurecoding.net/aggbug.aspx?PostID=7033" width="1" height="1"&gt;</description></item><item><title>re: XAML Default Button</title><link>http://azurecoding.net/blogs/icbtw/archive/2009/09/02/xaml-default-button.aspx#3385</link><pubDate>Fri, 23 Oct 2009 17:27:36 GMT</pubDate><guid isPermaLink="false">6e97e1e3-dc93-4c0d-b73f-e698f7d56013:3385</guid><dc:creator>Anoop  C M</dc:creator><description>&lt;p&gt;Thanks David for blogging this. It saved me some time.&lt;/p&gt;
&lt;p&gt;Those who are using the code remember to add the check for button.IsEnabled also. The control needs to be enabled to invoke actions, otherwise it will through error. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://azurecoding.net/aggbug.aspx?PostID=3385" width="1" height="1"&gt;</description></item></channel></rss>