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
正确答案:B
答案解析:有
微信扫一扫手机做题