summaryrefslogtreecommitdiff
path: root/Juick/App.xaml
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-04-23 12:29:01 +0400
committerGravatar Vitaly Takmazov2013-04-23 12:29:01 +0400
commit83ea4b07788df8d5da9286372ca9bdf76b5513fd (patch)
treee040378ee339396c4d5703bc5c7190c22604a9e0 /Juick/App.xaml
parente7fb2a3794bc7fb3c6592312d2628d9d11eedf3b (diff)
Move PostItem DataTemplate to Resources, add sample data to ThreadView, enable bitmap CacheMode, remove incomplete Validation
Diffstat (limited to 'Juick/App.xaml')
-rw-r--r--Juick/App.xaml19
1 files changed, 12 insertions, 7 deletions
diff --git a/Juick/App.xaml b/Juick/App.xaml
index 0c60cc0..1b67f8c 100644
--- a/Juick/App.xaml
+++ b/Juick/App.xaml
@@ -1,20 +1,25 @@
-<Application
- x:Class="Juick.App"
+<Application
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
- xmlns:sys="clr-namespace:System;assembly=mscorlib">
+ xmlns:sys="clr-namespace:System;assembly=mscorlib"
+ x:Class="Juick.App"
+ >
- <!--Application Resources-->
<Application.Resources>
+ <ResourceDictionary>
+ <ResourceDictionary.MergedDictionaries>
+ <ResourceDictionary Source="DataTemplates/PostItemDataTemplate.xaml" />
+ </ResourceDictionary.MergedDictionaries>
+ </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"/>
+ <shell:PhoneApplicationService
+ Launching="Application_Launching" Closing="Application_Closing"
+ Activated="Application_Activated" Deactivated="Application_Deactivated"/>
</Application.ApplicationLifetimeObjects>
</Application> \ No newline at end of file