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); }
public SettingsViewInfo(SettingsViewManager.Name name, PackIconFontAwesome packIconFontAwesome, SettingsViewManager.Group group) { Name = name; TranslatedName = SettingsViewManager.TranslateName(name, group); Canvas canvas = new Canvas(); canvas.Children.Add(packIconFontAwesome); Icon = canvas; Group = group; TranslatedGroup = SettingsViewManager.TranslateGroup(group); }
public SettingsViewInfo(SettingsViewManager.Name name, UIElement uiElement, SettingsViewManager.Group group) { Name = name; TranslatedName = SettingsViewManager.TranslateName(name, group); var canvas = new Canvas(); canvas.Children.Add(uiElement); Icon = canvas; Group = group; TranslatedGroup = SettingsViewManager.TranslateGroup(group); }
public SettingsViewInfo(SettingsViewManager.Name name, PackIconOcticons packIconOcticons, SettingsViewManager.Group group) { Name = name; TranslatedName = SettingsViewManager.TranslateName(name, group); var canvas = new Canvas(); canvas.Children.Add(packIconOcticons); Icon = canvas; Group = group; TranslatedGroup = SettingsViewManager.TranslateGroup(group); }