App/Payesh.App/App.xaml

44 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<prism:PrismApplication
x:Class="Payesh.App.App"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:converters="http://xamarin.com/schemas/2020/toolkit"
xmlns:prism="http://prismlibrary.com"
xmlns:themes="clr-namespace:Payesh.App.Views.Themes;assembly=Payesh.App">
<Application.Resources>
<ResourceDictionary>
<Style TargetType="Button">
<Setter Property="FontFamily" Value="{StaticResource Shabname}" />
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource AccentColor}, Dark={StaticResource AccentColor}}" />
</Style>
<Style TargetType="NavigationPage">
<Setter Property="BarTextColor" Value="Black" />
</Style>
<x:Array x:Key="Datas" Type="{x:Type x:String}">
<x:String>01</x:String>
<x:String>02</x:String>
<x:String>03</x:String>
<x:String>04</x:String>
<x:String>05</x:String>
<x:String>06</x:String>
</x:Array>
<converters:BoolToObjectConverter
x:Key="BoolToStrConverter"
FalseObject="False"
TrueObject="True" />
<converters:InvertedBoolConverter x:Key="InvertedBoolConverter" />
<ResourceDictionary.MergedDictionaries>
<themes:MainTheme />
<themes:ElementsTheme />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</prism:PrismApplication>