Sunday, January 5, 2014

Button:Example2

The ButtonExample2.xaml:




UI Display:
After pressing F5,











Notes:
1    1. The property IsDefault gets or sets the value that indicates whether a Button is the default button. If a button is default button, then it can be invoked by pressing the ENTER key.
      2.When  we set the IsDefault property of a button to true, we register the button with the AccessKeyManager so that a we can invoke the button by pressing the ENTER key.

No comments:

Copyright © Codingnodes,2014.All Rights Reserved.