public override NSObject[] ChildViewControllersForPagerTabStripViewController(XLPagerTabStripViewController pagerTabStripViewController) { var c1 = new ChildViewController(); var c2 = new ChildViewController(); var c3 = new ChildViewController(); c1.View.BackgroundColor = UIColor.Red; c2.View.BackgroundColor = UIColor.Yellow; c3.View.BackgroundColor = UIColor.Green; return new NSObject[] { c1, c2, c3 }; }
public string TitleForPagerTabStripViewController(XLPagerTabStripViewController pagerTabStripViewController) { return View.BackgroundColor.ToString(); }
public UIColor ColorForPagerTabStripViewController(XLPagerTabStripViewController pagerTabStripViewController) { return UIColor.White; }
public UIColor ColorForPagerTabStripViewController(XLPagerTabStripViewController pagerTabStripViewController) { return(UIColor.White); }
public string TitleForPagerTabStripViewController(XLPagerTabStripViewController pagerTabStripViewController) { return(View.BackgroundColor.ToString()); }
public override NSObject[] ChildViewControllersForPagerTabStripViewController(XLPagerTabStripViewController pagerTabStripViewController) { var c1 = new ChildViewController(); var c2 = new ChildViewController(); var c3 = new ChildViewController(); c1.View.BackgroundColor = UIColor.Red; c2.View.BackgroundColor = UIColor.Yellow; c3.View.BackgroundColor = UIColor.Green; return(new NSObject[] { c1, c2, c3 }); }