Udostępnij za pośrednictwem


FontCapitals Enum

Definition

Describes the capital letter style value for the Typography.Capitals attached property.

public enum class FontCapitals
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FontCapitals
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FontCapitals
Public Enum FontCapitals
<object property="enumMemberName"/>
 
Inheritance
FontCapitals
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Normal 0

Capital letters render normally.

AllSmallCaps 1

Both capital and lowercase letters are replaced with a glyph form of an uppercase letter with the same approximate height.

SmallCaps 2

Lowercase letters are replaced with a glyph form of an uppercase letter with the same approximate height.

AllPetiteCaps 3

Both capital and lowercase letters are replaced with a glyph form of an uppercase letter with the same approximate height. Petite capitals are smaller than small capitals.

PetiteCaps 4

Lowercase letters are replaced with a glyph form of an uppercase letter with the same approximate height. Petite capitals are smaller than small capitals.

Unicase 5

Capital letters display in unicase. Unicase fonts render both uppercase and lowercase letters in a mixture of uppercase and lowercase glyphs determined by the type designer.

Titling 6

Glyph forms are substituted with a typographic form specifically designed for titles.

Remarks

This enumeration is used by the Typography.Capitals attached property.

Applies to

See also