Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
namespace Xamarin.Forms.Controls
{
public class RootTabbedContentPage : TabbedPage
{
public RootTabbedContentPage ()
{
var tabOne = new ContentPage {
Title = "Testing 123",
Content = new AwesomeContent()
};
var tabTwo = new ContentPage {
Title = "Testing 345",
Content = new MoreAwesomeContent()
};
UnselectedTabColor = Color.HotPink;
SelectedTabColor = Color.Green;
Children.Add (tabOne);
Children.Add (tabTwo);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment