UriTypeConverter Class

Definition

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

[Xamarin.Forms.Xaml.TypeConversion(typeof(System.Uri))]
public class UriTypeConverter : Xamarin.Forms.TypeConverter
type UriTypeConverter = class
    inherit TypeConverter
Inheritance
System.Object
UriTypeConverter
Attributes

Constructors

UriTypeConverter()

Creates a new UriTypeConverter with default values.

Methods

CanConvertFrom(Type)

When implemented in a derived class, returns a Boolean value that indicates whether or not the derived type converter can convert sourceType to its target type.

(Inherited from TypeConverter)
ConvertFrom(CultureInfo, Object)
Obsolete.

When implemented in a derived class, converts an object that is a version of value and that can be cast to the target type.

(Inherited from TypeConverter)
ConvertFrom(Object)
Obsolete.

Calls ConvertFrom(CultureInfo, Object) with the current culture information and o.

(Inherited from TypeConverter)
ConvertFromInvariantString(String)

Returns a System.Uri object for a string representation of a URI.

Applies to