Ejemplo n.º 1
0
        public ProfileViewInfo(ProfileViewManager.Name name, UIElement uiElement)
        {
            Name           = name;
            TranslatedName = ProfileViewManager.TranslateName(name);
            var canvas = new Canvas();

            canvas.Children.Add(uiElement);
            Icon = canvas;
        }
Ejemplo n.º 2
0
 public ProfileViewInfo(ProfileViewManager.Name name, Canvas icon)
 {
     Name           = name;
     TranslatedName = ProfileViewManager.TranslateName(name);
     Icon           = icon;
 }