Partager via


Typography.Capitals Attached Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a FontCapitals enumerated value that indicates the capital form of the selected font.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
See GetCapitals, SetCapitals
See GetCapitals, SetCapitals

Property Value

Type: System.Windows.FontCapitals
A FontCapitals enumerated value. The default value is Normal.

Remarks

Capitals are a set of typographical forms that render text in capital-styled glyphs. Typically, when text is rendered as all capitals, the spacing between letters can appear too tight, and the weight and proportion of the letters too heavy. OpenType supports a number of styling formats for capitals, including small capitals, petite capitals, titling, and capital spacing. These styling formats allow you to control the appearance of capitals.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.