Пример #1
0
 void UpdateSource()
 {
     if (InnerPath != null)
     {
         Source = CachedSourceFactory.FromSvgResource(InnerPath, Width, Height, FillColor);
     }
 }
Пример #2
0
        public ImageSource ProvideValue(IServiceProvider serviceProvider)
        {
            if (Path != null)
            {
                return(CachedSourceFactory.FromSvgResource(Path, Width, Height, FillColor));
            }

            return(null);
        }