Beispiel #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;
        }
Beispiel #2
0
 public ProfileViewInfo(ProfileViewManager.Name name, Canvas icon)
 {
     Name           = name;
     TranslatedName = ProfileViewManager.TranslateName(name);
     Icon           = icon;
 }