annotate Messaging/Server/App.xaml @ 26:045dac571339

Working on data binding to a user control
author adminsh@apollo
date Wed, 21 Mar 2012 15:39:53 +0000
parents
children 83c1f62d9370
rev   line source
26
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
1 <Application x:Class="Server.App"
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
4 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
5 xmlns:local="clr-namespace:Server"
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
6 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
7 StartupUri="UI\MainWindow.xaml"
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
8 mc:Ignorable="d">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
9 <Application.Resources>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
10 <ResourceDictionary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
11 <ResourceDictionary.MergedDictionaries>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
12 <ResourceDictionary Source="/Elysium.Theme;component/Themes/Generic.xaml" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
13 </ResourceDictionary.MergedDictionaries>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
14 <!-- Bug in .Net 4: http://connect.microsoft.com/VisualStudio/feedback/details/555322/global-wpf-styles-are-not-shown-when-using-2-levels-of-references -->
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
15 <Style TargetType="{x:Type Window}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
16 <local:Locator x:Key="Locator" d:IsDataSource="True" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
17 <Color x:Key="MetroMagenta">#FF0097</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
18 <Color x:Key="MetroPurple">#A200FF</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
19 <Color x:Key="MetroTeal">#00ABA9</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
20 <Color x:Key="MetroLime">#8CBF26</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
21 <Color x:Key="MetroBrown">#996600</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
22 <Color x:Key="MetroPink">#FF0097</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
23 <Color x:Key="MetroOrange">#F09609</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
24 <Color x:Key="MetroBlue">#1BA1E2</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
25 <Color x:Key="MetroLightBlue">#FFB2E0F4</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
26 <Color x:Key="MetroRed">#E51400</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
27 <Color x:Key="MetroGreen">#339933</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
28 <Color x:Key="MetroGray">#FFF2F2F2</Color>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
29 <SolidColorBrush x:Key="MetroMagentaBrush" Color="{StaticResource MetroMagenta}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
30 <SolidColorBrush x:Key="MetroPurpleBrush" Color="{StaticResource MetroPurple}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
31 <SolidColorBrush x:Key="MetroTealBrush" Color="{StaticResource MetroTeal}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
32 <SolidColorBrush x:Key="MetroLimeBrush" Color="{StaticResource MetroLime}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
33 <SolidColorBrush x:Key="MetroBrownBrush" Color="{StaticResource MetroBrown}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
34 <SolidColorBrush x:Key="MetroPinkBrush" Color="{StaticResource MetroPink}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
35 <SolidColorBrush x:Key="MetroOrangeBrush" Color="{StaticResource MetroOrange}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
36 <SolidColorBrush x:Key="MetroBlueBrush" Color="{StaticResource MetroBlue}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
37 <SolidColorBrush x:Key="MetroLightBlueBrush" Color="{StaticResource MetroLightBlue}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
38 <SolidColorBrush x:Key="MetroRedBrush" Color="{StaticResource MetroRed}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
39 <SolidColorBrush x:Key="MetroGreenBrush" Color="{StaticResource MetroGreen}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
40 <SolidColorBrush x:Key="MetroGrayBrush" Color="{StaticResource MetroGray}" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
41
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
42 <BitmapImage x:Key="Mail" UriSource="pack://application:,,,/Common;component/Icons/Mail.png" />
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
43
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
44 </ResourceDictionary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
45 </Application.Resources>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
46 </Application>