Ejemplo n.º 1
0
 public SlicerViewInfo(String name, Canvas icon, SlicerViewManager.Group group)
 {
     Name            = TranslatedName = name;
     Icon            = icon;
     Group           = group;
     TranslatedGroup = SlicerViewManager.TranslateGroup(group);
 }
Ejemplo n.º 2
0
        public SlicerViewInfo(String name, UIElement uiElement, SlicerViewManager.Group group)
        {
            Name = TranslatedName = name;
            var canvas = new Canvas();

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