nerdexam
Microsoft

70-511 · Question #255

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. <TextB1ock x:Name="txtBlock1". 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<TextB1ock x:Name="txtBlock1"
  • B<TextB1ock x:Name="txtBlock1"
  • C<TextB1ock x:Name="txtBlock1"
  • D<TextB1ock x:Name="txtBlock1"

How the community answered

(21 responses)
  • A
    71% (15)
  • B
    14% (3)
  • C
    5% (1)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice