nerdexam
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)
  • A
    72% (13)
  • B
    6% (1)
  • C
    17% (3)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice