changeset 38:b008faa1baa7

Removal of secondary style
author adminsh@apollo
date Mon, 02 Apr 2012 14:05:18 +0100
parents 3783cb9b371f
children 4b8b38d17d24
files Messaging/Common/Common.csproj Messaging/Common/Themes/SecondaryStyle.xaml
diffstat 2 files changed, 0 insertions(+), 77 deletions(-) [+]
line wrap: on
line diff
--- a/Messaging/Common/Common.csproj	Thu Mar 29 15:00:44 2012 +0100
+++ b/Messaging/Common/Common.csproj	Mon Apr 02 14:05:18 2012 +0100
@@ -61,10 +61,6 @@
     <Compile Include="Xaml\XamlHelper.cs" />
   </ItemGroup>
   <ItemGroup>
-    <Page Include="Themes\SecondaryStyle.xaml">
-      <Generator>MSBuild:Compile</Generator>
-      <SubType>Designer</SubType>
-    </Page>
     <Page Include="Themes\Generic.xaml">
       <Generator>MSBuild:Compile</Generator>
       <SubType>Designer</SubType>
--- a/Messaging/Common/Themes/SecondaryStyle.xaml	Thu Mar 29 15:00:44 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
-                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-                    xmlns:c="clr-namespace:Common.Controls">
-
-    <ResourceDictionary.MergedDictionaries>
-        <ResourceDictionary Source="/Elysium.Theme;component/Themes/SharedResources.xaml" />
-    </ResourceDictionary.MergedDictionaries>
-
-    <Style TargetType="{x:Type c:MetroTile}">
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type c:MetroTile}">
-                    <Border Background="{StaticResource MetroLightBlueBrush}">
-                        <Grid Background="{Binding Path=Background, RelativeSource={RelativeSource TemplatedParent}}">
-
-                            <Grid.RowDefinitions>
-                                <RowDefinition Height="*" />
-                                <RowDefinition Height="*" />
-                                <RowDefinition Height="1.25*" />
-                            </Grid.RowDefinitions>
-
-                            <Grid.ColumnDefinitions>
-                                <ColumnDefinition Width="*" />
-                                <ColumnDefinition Width="*" />
-                            </Grid.ColumnDefinitions>
-
-                            <TextBlock x:Name="PART_DISPLAY_TITLE_CONTAINER"
-                                       Grid.Row="0"
-                                       Grid.RowSpan="0"
-                                       Grid.Column="0"
-                                       Grid.ColumnSpan="2"
-                                       Margin="10"
-                                       HorizontalAlignment="Right"
-                                       VerticalAlignment="Bottom"
-                                       FontSize="10"
-                                       Foreground="White"
-                                       Text="{Binding Path=DisplayText,
-                                                      RelativeSource={RelativeSource TemplatedParent},
-                                                      UpdateSourceTrigger=PropertyChanged}"
-                                       TextWrapping="Wrap" />
-
-                            <Image x:Name="PART_DISPLAY_ICON"
-                                   Grid.Row="1"
-                                   Grid.Column="0"
-                                   Grid.ColumnSpan="2"
-                                   Margin="10,10,0,0"
-                                   HorizontalAlignment="Left"
-                                   VerticalAlignment="Top"
-                                   Source="{Binding Path=DisplayIcon,
-                                                    RelativeSource={RelativeSource TemplatedParent},
-                                                    UpdateSourceTrigger=PropertyChanged}"
-                                   Stretch="None" />
-
-                            <TextBlock x:Name="PART_DISPLAY_COUNT_CONTAINER"
-                                       Grid.Row="2"
-                                       Grid.Column="0"
-                                       Grid.ColumnSpan="2"
-                                       Margin="0,0,10,0"
-                                       HorizontalAlignment="Right"
-                                       FontSize="14"
-                                       Foreground="White"
-                                       Text="{Binding Path=DisplayCount,
-                                                      StringFormat=N0,
-                                                      RelativeSource={RelativeSource TemplatedParent},
-                                                      UpdateSourceTrigger=PropertyChanged}" />
-                        </Grid>
-                    </Border>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-</ResourceDictionary>
\ No newline at end of file