nerdexam
Microsoft

70-491 · Question #12

You need to create the ButtonForegroundColor resource. Which code segment should you insert at line XA09?

The correct answer is A. Option A. Create a resource named ButtonForegroundColor to implement the button foreground color so that it can be referenced in XAML by using the following standard syntax: Foreground-"{StaticResourceButtonForegroundColor}" - SolidColorBrush

Create user interfaces

Question

You need to create the ButtonForegroundColor resource. Which code segment should you insert at line XA09?

Exhibit

70-491 question #12 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(35 responses)
  • A
    71% (25)
  • B
    17% (6)
  • C
    6% (2)
  • D
    6% (2)

Explanation

  • Create a resource named ButtonForegroundColor to implement the button foreground color so that it can be referenced in XAML by using the following standard syntax: Foreground-"{StaticResourceButtonForegroundColor}" - SolidColorBrush

Topics

#XAML resources#ResourceDictionary#SolidColorBrush#foreground color

Community Discussion

No community discussion yet for this question.

Full 70-491 Practice