Share via


NamedSize Enum

Definition

Caution

This API is now deprecated.

Represents pre-defined font sizes.

public enum class NamedSize
[System.Obsolete]
public enum NamedSize
[<System.Obsolete>]
type NamedSize = 
Public Enum NamedSize
Inheritance
NamedSize
Attributes

Fields

Name Value Description
Default 0

The default font size.

Micro 1

The smallest readable font size for the device. Think about this like legal footnotes.

Small 2

A small but readable font size. Use this for block of text.

Medium 3

A default font size, to be used in stand alone labels or buttons.

Large 4

A Large font size, for titles or other important text elements.

Body 5

Body.

Header 6

Header.

Title 7

Title.

Subtitle 8

Subtitle.

Caption 9

Caption.

Remarks

The exact pixel-value depends on the platform on which Microsoft.Maui.Controls is running.

Applies to