Xamarin.Forms Guides | Samples

Xamarin.Forms.UriTypeConverter Class

A TypeConverter that converts from a string or Uri to a Uri.

See Also: UriTypeConverter


public class UriTypeConverter : TypeConverter


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

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

See Also: TypeConverter

Public Constructors

Creates a new UriTypeConverter with default values.

Public Methods

CanConvertFrom(Type) : Boolean
Returns a Boolean value that indicates whether this UriTypeConverter can convert the sourceType to a Uri instance.
ConvertFrom(CultureInfo, Object) : Object
Converts value into a Uri by using the specified culture.
ConvertFromInvariantString(String) : Object
Returns a Uri object for a string representation of a URI.