AdaptiveTextStyle Enum

Definition

Text style controls font size, weight, and opacity.

C#
public enum AdaptiveTextStyle
Inheritance
AdaptiveTextStyle

Fields

Name Value Description
Default 0

Style is determined by the renderer.

Caption 1

Default value. Paragraph font size, normal weight and opacity.

CaptionSubtle 2

Same as Caption but with subtle opacity.

Body 3

H5 font size.

BodySubtle 4

Same as Body but with subtle opacity.

Base 5

H5 font size, bold weight. Essentially the bold version of Body.

BaseSubtle 6

Same as Base but with subtle opacity.

Subtitle 7

H4 font size.

SubtitleSubtle 8

Same as Subtitle but with subtle opacity.

Title 9

H3 font size.

TitleSubtle 10

Same as Title but with subtle opacity.

TitleNumeral 11

Same as Title but with top/bottom padding removed.

Subheader 12

H2 font size.

SubheaderSubtle 13

Same as Subheader but with subtle opacity.

SubheaderNumeral 14

Same as Subheader but with top/bottom padding removed.

Header 15

H1 font size.

HeaderSubtle 16

Same as Header but with subtle opacity.

HeaderNumeral 17

Same as Header but with top/bottom padding removed.

Applies to

Product Versions
Windows Community Toolkit 6.1.1, 7.0.0, 7.1.0