共用方式為


NamedSize Enum

Definition

Represents pre-defined font sizes.

public enum NamedSize
type NamedSize = 
Inheritance
System.Enum
NamedSize

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 Xamarin.Forms is running.

Applies to