Xamarin.Forms Guides | Samples

Xamarin.Forms.NamedSize Enumeration

Represents pre-defined font sizes.

Syntax

public enum NamedSize

Remarks

The exact pixel-value depends on the platform on which Forms runs.

Members

Member NameDescription
DefaultThe default font size.
LargeA Large font size, for titles or other important text elements.
MediumA default font size, to be used in stand alone labels or buttons.
MicroThe smallest readable font size for the device. Think about this like legal footnotes.
SmallA small but readable font size. Use this for block of text.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.NamedSize are listed below.

See Also: Enum

Public Fields

DefaultNamedSize. The default font size.
LargeNamedSize. A Large font size, for titles or other important text elements.
MediumNamedSize. A default font size, to be used in stand alone labels or buttons.
MicroNamedSize. The smallest readable font size for the device. Think about this like legal footnotes.
SmallNamedSize. A small but readable font size. Use this for block of text.