3 namespace Tizen.NUI.Binding
5 [Xaml.TypeConversion(typeof(FileImageSource))]
6 internal sealed class FileImageSourceConverter : TypeConverter
8 public override object ConvertFromInvariantString(string value)
11 return (FileImageSource)ImageSource.FromFile(value);
13 throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", value, typeof(FileImageSource)));