1 instantiation of FileImageSource
Microsoft.Maui.Controls (1)
ImageSource.cs (1)
71
return new
FileImageSource
{ File = file };
16 references to FileImageSource
Microsoft.Maui.Controls (9)
FileImageSource.cs (4)
11
public static readonly BindableProperty FileProperty = BindableProperty.Create(nameof(File), typeof(string), typeof(
FileImageSource
), default(string));
35
public static implicit operator
FileImageSource
(string file)
37
return (
FileImageSource
)FromFile(file);
40
public static implicit operator string(
FileImageSource
file)
FileImageSourceConverter.cs (3)
21
return (
FileImageSource
)ImageSource.FromFile(strValue);
23
throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", strValue, typeof(
FileImageSource
)));
28
if (value is not
FileImageSource
fis)
Hosting\AppHostBuilderExtensions.cs (1)
226
services.AddService<
FileImageSource
>(svcs => new FileImageSourceService(svcs.CreateLogger<FileImageSourceService>()));
ImageSourceConverter.cs (1)
36
if (value is
FileImageSource
fis)
Microsoft.Maui.Controls.Compatibility (7)
AppHostBuilderExtensions.cs (1)
96
Internals.Registrar.Registered.Register(typeof(
FileImageSource
), typeof(FileImageSourceHandler));
iOS\Renderers\ImageAnimationHelper.cs (1)
230
static public FormsCAKeyFrameAnimation CreateAnimationFromFileImageSource(
FileImageSource
imageSource)
iOS\Renderers\ImageElementManager.cs (2)
178
if (oldSource is
FileImageSource
oldFile && source is
FileImageSource
newFile && oldFile == newFile)
iOS\Renderers\ImageRenderer.cs (3)
129
var
filesource = imagesource as
FileImageSource
;
144
FormsCAKeyFrameAnimation animation = ImageAnimationHelper.CreateAnimationFromFileImageSource(imagesource as
FileImageSource
);