How can we access XAML objects in behind code?

 Posted by ArticlesMaint on 9/19/2009 | Category: Silverlight Interview questions | Views: 6292


To access XAML objects in behind code you just need to define them with the same name as given in the XAML document. For instance in the below code snippet we named the object as objtext and the object is defined with the same name in the behind code.


 Accessing XAML object



Note: - You can get the source code in WindowsAccessXAML folder.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response