How to use accesskay property in silverlight?

Posted by Maheshp under Silverlight on 9/5/2011 | Points: 10 | Views : 1871 | Status : [Member] | Replies : 1
Dear All,
I am working with silverlight 3.0

i have a problem in setting Accesskey to a button Control. there is a property in button control.I tried to set that but it seems not working.

AutomationProperties.AccessKey="S"

Can anybody have the idea to set the access key?

its better to get the solution in xaml file.

Thanks in Advance




Responses

Posted by: debal_saha-9451 on: 9/11/2011 [Member] Starter | Points: 25

Up
0
Down
You can't set this directly , but using key "s" your Application can able to perform the task . See my article in dot net funda silverlight Forum. I described both AutomationProperties.HelpText and AutomationProperties.AccessKey = "p".
http://www.dotnetfunda.com/articles/article1588-automationproperties-in-silverlight-.aspx
See, my article . If u find this useful pl Vote or reply.
Thanks

Maheshp, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response