Microsoft
70-511 · Question #280
You have an App.xaml file that contains the following markup: You need to create a TextBlock named txtBlock1 that uses PageTitleStyle. Which code should you use?
The correct answer is A. <TextBlock x:Name= "txtBlock". See the full explanation below for the reasoning.
Question
You have an App.xaml file that contains the following markup:
You need to create a TextBlock named txtBlock1 that uses PageTitleStyle. Which code should you use?
Options
- A<TextBlock x:Name= "txtBlock"
- B<TextBlock x:Name= "txtBlock"
- C<TextBlock x:Name= "txtBlock"
- D<TextBlock x:Name= "txtBlock"
How the community answered
(18 responses)- A72% (13)
- B6% (1)
- C17% (3)
- D6% (1)
Community Discussion
No community discussion yet for this question.