Created
March 4, 2019 14:04
-
-
Save jfversluis/f473f74298fdc1a1c8ada9036c352f54 to your computer and use it in GitHub Desktop.
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