/
App.xaml
36 lines (36 loc) · 2.4 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
<?xml version="1.0" encoding="utf-8"?>
<Application x:Class="RssStarterKit.App"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:vm="clr-namespace:RssStarterKit.ViewModels"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:converters="clr-namespace:RssStarterKit.Converters"
xmlns:localization="clr-namespace:RssStarterKit.Localization"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<!--Application Resources-->
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Views/ThemeDictionary.xaml" />
</ResourceDictionary.MergedDictionaries>
<localization:Localization x:Key="LocalizedStrings" />
<vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True"/>
<SolidColorBrush Color="{StaticResource PhoneForegroundColor}" x:Key="ThemeForgroundBrush" />
<SolidColorBrush Color="{StaticResource PhoneBackgroundColor}" x:Key="ThemeBackgroundBrush" />
<shell:ProgressIndicator x:Name="SystemProgressIndicator" IsIndeterminate="True" IsVisible="{Binding Source={StaticResource Locator}, Path=Main.IsBusy}" />
<converters:InverseBooleanConverter x:Key="InverseBooleanConverter" />
<converters:NoDataCollectedConverter x:Key="NoDataCollectedConverter" />
<converters:ImageNotAvailableConverter x:Key="ImageNotAvailableConverter" />
<system:String x:Key="FeedTypeImagePath">/Images/FeedType/</system:String>
<!--<ViewModelLocator x:Key="Locator" d:IsDataSource="True" xmlns="clr-namespace:RssStarterKit.ViewModel" />-->
</ResourceDictionary>
</Application.Resources>
<Application.ApplicationLifetimeObjects>
<!--Required object that handles lifetime events for the application-->
<shell:PhoneApplicationService Launching="Application_Launching" Closing="Application_Closing" Activated="Application_Activated" Deactivated="Application_Deactivated" />
</Application.ApplicationLifetimeObjects>
</Application>