Пример #1
0
        protected override ImageSource ImageSourceFor(ProIcons icon)
        {
            var size = Math.Max(IconHelper.DefaultSize, Math.Max(ActualWidth, ActualHeight));

            return(ProFonts.For(icon)
                   .ToImageSource(icon, Foreground, size));
        }
Пример #2
0
 public IconBlock() : base(ProFonts.For(ProIcons.Abacus))
 {
 }
Пример #3
0
 protected override FontFamily FontFor(ProIcons icon)
 {
     return(ProFonts.For(icon));
 }