Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
6002CEM_BashirDol/AppShell.xaml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35 lines (28 sloc)
1.59 KB
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
<?xml version="1.0" encoding="utf-8" ?> | |
<Shell xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="EventsExplorer.AppShell" | |
xmlns:view="clr-namespace:EventsExplorer.View" | |
FlyoutBehavior="Disabled"> | |
<Shell.Resources> | |
<ResourceDictionary> | |
<Style x:Key="BaseStyle" TargetType="Element"> | |
<Setter Property="Shell.BackgroundColor" Value="{StaticResource Primary}" /> | |
<Setter Property="Shell.ForegroundColor" Value="{OnPlatform WinUI={StaticResource Primary}, Default=White}" /> | |
<Setter Property="Shell.TitleColor" Value="White" /> | |
<Setter Property="Shell.DisabledColor" Value="#B4FFFFFF" /> | |
<Setter Property="Shell.UnselectedColor" Value="#95000000" /> | |
<Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource Background}" /> | |
<Setter Property="Shell.TabBarForegroundColor" Value="{StaticResource BackgroundDark}" /> | |
<Setter Property="Shell.TabBarUnselectedColor" Value="#95000000" /> | |
<Setter Property="Shell.TabBarTitleColor" Value="{StaticResource BackgroundDark}" /> | |
</Style> | |
<Style BasedOn="{StaticResource BaseStyle}" TargetType="ShellItem" ApplyToDerivedTypes="True" /> | |
</ResourceDictionary> | |
</Shell.Resources> | |
<ShellContent | |
Shell.NavBarIsVisible="true" | |
Title="Events" | |
ContentTemplate="{DataTemplate view:MainPage}" | |
Route="MainPage" /> | |
</Shell> |