public void AddTab(string url, string title, string faviconPath) { var tab = new TabData(++uniqueId, url, title); if (!string.IsNullOrEmpty(faviconPath)) { tab.ImagePath = faviconPath; } tab.FrameType = typeof(RoamingFavorite.View.GroupedItemsPage); tabCollection.Add(tab); ActiveTab = tab; }