Mercurial > silverbladetech
comparison 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 |
comparison
equal
deleted
inserted
replaced
25:81f9b72a44ce | 26:045dac571339 |
---|---|
1 <Application x:Class="Server.App" | |
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
4 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
5 xmlns:local="clr-namespace:Server" | |
6 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
7 StartupUri="UI\MainWindow.xaml" | |
8 mc:Ignorable="d"> | |
9 <Application.Resources> | |
10 <ResourceDictionary> | |
11 <ResourceDictionary.MergedDictionaries> | |
12 <ResourceDictionary Source="/Elysium.Theme;component/Themes/Generic.xaml" /> | |
13 </ResourceDictionary.MergedDictionaries> | |
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 --> | |
15 <Style TargetType="{x:Type Window}" /> | |
16 <local:Locator x:Key="Locator" d:IsDataSource="True" /> | |
17 <Color x:Key="MetroMagenta">#FF0097</Color> | |
18 <Color x:Key="MetroPurple">#A200FF</Color> | |
19 <Color x:Key="MetroTeal">#00ABA9</Color> | |
20 <Color x:Key="MetroLime">#8CBF26</Color> | |
21 <Color x:Key="MetroBrown">#996600</Color> | |
22 <Color x:Key="MetroPink">#FF0097</Color> | |
23 <Color x:Key="MetroOrange">#F09609</Color> | |
24 <Color x:Key="MetroBlue">#1BA1E2</Color> | |
25 <Color x:Key="MetroLightBlue">#FFB2E0F4</Color> | |
26 <Color x:Key="MetroRed">#E51400</Color> | |
27 <Color x:Key="MetroGreen">#339933</Color> | |
28 <Color x:Key="MetroGray">#FFF2F2F2</Color> | |
29 <SolidColorBrush x:Key="MetroMagentaBrush" Color="{StaticResource MetroMagenta}" /> | |
30 <SolidColorBrush x:Key="MetroPurpleBrush" Color="{StaticResource MetroPurple}" /> | |
31 <SolidColorBrush x:Key="MetroTealBrush" Color="{StaticResource MetroTeal}" /> | |
32 <SolidColorBrush x:Key="MetroLimeBrush" Color="{StaticResource MetroLime}" /> | |
33 <SolidColorBrush x:Key="MetroBrownBrush" Color="{StaticResource MetroBrown}" /> | |
34 <SolidColorBrush x:Key="MetroPinkBrush" Color="{StaticResource MetroPink}" /> | |
35 <SolidColorBrush x:Key="MetroOrangeBrush" Color="{StaticResource MetroOrange}" /> | |
36 <SolidColorBrush x:Key="MetroBlueBrush" Color="{StaticResource MetroBlue}" /> | |
37 <SolidColorBrush x:Key="MetroLightBlueBrush" Color="{StaticResource MetroLightBlue}" /> | |
38 <SolidColorBrush x:Key="MetroRedBrush" Color="{StaticResource MetroRed}" /> | |
39 <SolidColorBrush x:Key="MetroGreenBrush" Color="{StaticResource MetroGreen}" /> | |
40 <SolidColorBrush x:Key="MetroGrayBrush" Color="{StaticResource MetroGray}" /> | |
41 | |
42 <BitmapImage x:Key="Mail" UriSource="pack://application:,,,/Common;component/Icons/Mail.png" /> | |
43 | |
44 </ResourceDictionary> | |
45 </Application.Resources> | |
46 </Application> |