This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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