Loading

Font Inheritance


When you set any of the font properties, the values flow through to nested objects. For example, if you set
the FontFamily property for the top-level window, every control in that window gets the same FontFamily
value (unless the control explicitly sets a different font). This works because the font properties are
dependency properties, and one of the features that dependency properties can provide is property value
inheritance—the magic that passes your font settings down to nested controls.

posted @ 2013-02-16 21:40  .net's  阅读(323)  评论(0编辑  收藏  举报