We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am new to Maui and I need to create an app where tab visibility depends on the user data/rights. So I began to study this sample project.
I made the following change to App.xml: (added x:Name="tabFav" IsVisible="False")
x:Name="tabFav" IsVisible="False"
<FlyoutItem Title="Favorites" Icon="tab_favorites.png" x:Name="tabFav" IsVisible="False"> <ShellContent ContentTemplate="{DataTemplate page:FavoritesPage}"/> </FlyoutItem>
and changed in App.xaml.cs:
void TapGestureRecognizer_Tapped(System.Object sender, System.EventArgs e) { Shell.Current.GoToAsync("///settings"); tabFav.IsVisible = !tabFav.IsVisible; }
Setting tabFav to visible works but setting to invisible results in unhandled exception when running app in Windows
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am new to Maui and I need to create an app where tab visibility depends on the user data/rights. So I began to study this sample project.
I made the following change to App.xml: (added
x:Name="tabFav" IsVisible="False"
)<FlyoutItem Title="Favorites" Icon="tab_favorites.png" x:Name="tabFav" IsVisible="False"> <ShellContent ContentTemplate="{DataTemplate page:FavoritesPage}"/> </FlyoutItem>
and changed in App.xaml.cs:
void TapGestureRecognizer_Tapped(System.Object sender, System.EventArgs e) { Shell.Current.GoToAsync("///settings"); tabFav.IsVisible = !tabFav.IsVisible; }
Setting tabFav to visible works but setting to invisible results in unhandled exception when running app in Windows
The text was updated successfully, but these errors were encountered: