-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.xaml
39 lines (37 loc) · 2.02 KB
/
App.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Application x:Class="GamingAlerts.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:GamingAlerts"
xmlns:viewModel="clr-namespace:GamingAlerts.MVVM.ViewModels"
xmlns:view="clr-namespace:GamingAlerts.MVVM.Views"
xmlns:converters="clr-namespace:GamingAlerts.Converters" xmlns:System="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
ShutdownMode="OnExplicitShutdown"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Themes/MenuButtonTheme.xaml" />
<ResourceDictionary Source="Themes/AddButtonTheme.xaml" />
<ResourceDictionary Source="Themes/NotifyIconResources.xaml" />
<ResourceDictionary Source="Themes/HoverButtonTheme.xaml"/>
</ResourceDictionary.MergedDictionaries>
<DataTemplate DataType="{x:Type viewModel:AllAlertsViewModel}">
<view:AlertsView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:FavoriteAlertsViewModel}">
<view:AlertsView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:ActiveAlertsViewModel}">
<view:AlertsView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:AddNewAlertViewModel}">
<view:AlertDetailsView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:EditAlertViewModel}">
<view:AlertDetailsView/>
</DataTemplate>
<converters:IsFavoriteToImageConverter x:Key="IsFavoriteToImageConverter"/>
<converters:IsRepeatableToImageConverter x:Key="IsRepeatableToImageConverter"/>
</ResourceDictionary>
</Application.Resources>
</Application>