Appear in Online Interview to test your skills and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Submit content and win cash & prizes monthly.
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Interviews Author
Thu, 24-Apr-2014 Authors
Goud.Kv
280
All Time Authors
Rajkatie
20480
Vishal@Neeraj
19600
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)

How can we access XAML objects in behind code?

Posted on 9/14/2009 | Category: WPF Interview questions | Views: 6085

Answer:

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.
 



Figure .2 Accessing XAML object


Asked In: Many Interviews Alert Moderator 

Found interesting? Add this to:




Latest Interview Questions

    Comments or Responses

    Login to post response.

    Comments / Responses
    Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
    Bold Italic Underline Paragraph Title Code  Link 
     Wait ... Processing ..... please wait.