Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created March 4, 2019 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/f473f74298fdc1a1c8ada9036c352f54 to your computer and use it in GitHub Desktop.
Save jfversluis/f473f74298fdc1a1c8ada9036c352f54 to your computer and use it in GitHub Desktop.
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