Created
June 28, 2019 08:53
-
-
Save ufukhawk/2b342535ed7f386187837a03a42fece8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
private void OnDiscoveryClicked(object sender, System.EventArgs e) | |
{ | |
if (App.Current.MainPage is TabbedPage mainPage && sender is Button button) | |
{ | |
mainPage.CurrentPage = mainPage.Children[0]; | |
Tab1.TextColor = Color.Gray; | |
Tab2.TextColor = Tab3.TextColor = Color.DarkGray; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment