For example: I have a header that is called menu 1 and menu 2
How do I change the text in code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you add content to the Panorama statically (in the designer) you can access the headers like this:
Code:
Or, if you want the current PanoramaItem to change its Header:
Or, when you assign the PanoramaItem a name like this:
Then you could code:
When you use DataBinding to create the PanoramaItems you can just change the property of the data object/ViewModel that is bound to the header and it will update automatically.