Xamarin.Forms Guides | Samples

Xamarin.Forms.FontSizeConverter Class

Converts a string into a font size.

See Also: FontSizeConverter

Syntax

public class FontSizeConverter : TypeConverter, IExtendedTypeConverter

Requirements

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

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

See Also: TypeConverter

Public Constructors

Initializes a new FontSizeConverter object.

Public Methods

override
CanConvertFrom(Type) : Boolean
Returns a value that indicates if the source type can be converted to a font size.
override
ConvertFrom(CultureInfo, Object) : Object
Converts an object into a font size.
override
ConvertFromInvariantString(String) : Object
Converts a string representation of a font size into a font size.

Explicitly Implemented Interface Members