Beispiel #1
0
 public SettingsViewInfo(SettingsViewManager.Name name, Canvas icon, SettingsViewManager.Group group)
 {
     Name            = name;
     TranslatedName  = SettingsViewManager.TranslateName(name, group);
     Icon            = icon;
     Group           = group;
     TranslatedGroup = SettingsViewManager.TranslateGroup(group);
 }
Beispiel #2
0
        public SettingsViewInfo(SettingsViewManager.Name name, PackIconOcticons packIconOcticons, SettingsViewManager.Group group)
        {
            Name           = name;
            TranslatedName = SettingsViewManager.TranslateName(name, group);
            Canvas canvas = new Canvas();

            canvas.Children.Add(packIconOcticons);
            Icon            = canvas;
            Group           = group;
            TranslatedGroup = SettingsViewManager.TranslateGroup(group);
        }