ImageSourceConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class that takes a string representation of an image file location and returns a ImageSource from the specified resource.
[Xamarin.Forms.Xaml.TypeConversion(typeof(Xamarin.Forms.ImageSource))]
public sealed class ImageSourceConverter : Xamarin.Forms.TypeConverter
type ImageSourceConverter = class
inherit TypeConverter
- Inheritance
- Attributes
Constructors
ImageSourceConverter() |
Creates a new ImageSourceConverter 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 |
ConvertFrom(CultureInfo, Object) |
Obsolete.
When implemented in a derived class, converts an object that is a version of |
ConvertFrom(Object) |
Obsolete.
Calls ConvertFrom(CultureInfo, Object) with the current culture information and |
ConvertFromInvariantString(String) |
Returns an image source created from a URI that is contained in |