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

            return(null);
        }