Exemplo n.º 1
0
        public static void Apply(this IFigure figure, FrameworkElement element, IFigureStyle figureStyle)
        {
            var wpfStyle = figureStyle.GetWpfStyle(figure);

            element.Apply(wpfStyle);
            figureStyle.OnApplied(figure, element);
        }