Typography.Capitals attached property
TOC
Collapse the table of content
Expand the table of content

Typography.Capitals attached property

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


<object Typography.Capitals="fontCapitalsMemberName"/>

XAML Values

fontCapitalsMemberName

A named constant of the FontCapitals enumeration, for example 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. Microsoft 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.

To set this attached property value in code, use the SetCapitals method. To get this attached property value in code, use the GetCapitals method.

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows.UI.Xaml.Documents

Metadata

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Documents

Metadata

Windows.winmd

See also

Typography

 

 

Show:
© 2017 Microsoft