public CalculationViewInfo(String name, Canvas icon, CalculationViewManager.Group group)
 {
     Name            = TranslatedName = name;
     Icon            = icon;
     Group           = group;
     TranslatedGroup = CalculationViewManager.TranslateGroup(group);
 }
        public CalculationViewInfo(String name, UIElement uiElement, CalculationViewManager.Group group)
        {
            Name = TranslatedName = name;
            var canvas = new Canvas();

            canvas.Children.Add(uiElement);
            Icon            = canvas;
            Group           = group;
            TranslatedGroup = CalculationViewManager.TranslateGroup(group);
        }