Xamarin.Forms Guides | Samples

Xamarin.Forms.FontAttributes Enumeration

Enumerates values that describe font styles.

Syntax

[System.Flags]
public enum FontAttributes

Members

Member NameDescription
BoldThe font is bold.
ItalicThe font is italic.
NoneThe font is unmodified.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 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.FontAttributes are listed below.

See Also: Enum

Public Fields

BoldFontAttributes. The font is bold.
ItalicFontAttributes. The font is italic.
NoneFontAttributes. The font is unmodified.