PrepAway - Latest Free Exam Questions & Answers

How can you achieve this?

You have definded a style in app.xaml

<Style x:Key=”A” x:Name=”B”

</Style>
You want to use this style in your application in code behind.
How can you achieve this?

PrepAway - Latest Free Exam Questions & Answers

A.
button1.Style = FindName(“A”) as Style

B.
button1.Style = FindName(“B”) as Style

C.
button1.Style = FindResource(“A”) as Style

D.
button1.Style = FindResource(“B”) as Style


Leave a Reply