public void AddTab(string text, string imageSource, string imageResourceKey, string contentTitle, object content) { NavbarTab tab = new NavbarTab(); tab.Header.HeaderText = text; tab.Header.ImageResourceKey = imageResourceKey; tab.Header.ImageSource = imageSource; tab.ContentTitle = contentTitle; tab.TabContent = content; _tabs.Add(tab); if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs("Tabs")); }
public void AddTab(NavbarTab tab) { _tabs.Add(tab); if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs("Tabs")); }