Xamarin.Forms.Font.WithAttributes Method
Returns a new font structure with the specified attributes.

Syntax

public Font WithAttributes (FontAttributes fontAttributes)

Parameters

fontAttributes
Whether the font is italic, bold, or neither.

Returns

A new Xamarin.Forms.Font structure with the attributes that were specified with fontAttributes.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.2.0.0, 1.3.0.0