void UpdateSource() { if (InnerPath != null) { Source = CachedSourceFactory.FromSvgResource(InnerPath, Width, Height, FillColor); } }
public ImageSource ProvideValue(IServiceProvider serviceProvider) { if (Path != null) { return(CachedSourceFactory.FromSvgResource(Path, Width, Height, FillColor)); } return(null); }