What should you do ?

You are developing a Windows Presentation Foundation (WPF) application.

The application contains stylized body text and heading text. The heading text is a slight variation of the body text.

You need to ensure that if the body text changes, the heading text automatically inherits those changes.

What should you do ?

You are developing a Windows Presentation Foundation (WPF) application.

The application contains stylized body text and heading text. The heading text is a slight variation of the body text.

You need to ensure that if the body text changes, the heading text automatically inherits those changes.

What should you do ?

A.
Set the Value property of the style setter to point to a static resource

B.
Set the BasedOn property of the heading style to point to a static resource for the body text style

C.
Set the Key property of the heading style to start with the name of the body text style

D.
Set the TargetType property of the heading style to TextBlock



Leave a Reply 0

Your email address will not be published. Required fields are marked *