Commit 869bc8ed authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Removed unused some xmlns

parent aef68a2a
......@@ -6,7 +6,6 @@
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:linphone="clr-namespace:Linphone"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
......
......@@ -6,7 +6,6 @@
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:linphone="clr-namespace:Linphone"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
......
......@@ -36,8 +36,7 @@
<Grid.Resources>
<model:ContactPictureConverter x:Key="ContactPictureConverter"/>
<model:LinphoneContactPictureConverter x:Key="LinphoneContactPictureConverter"/>
<model:TileSizeToWidthConverterFix x:Key="TileSizeToWidthConverterFix"/>
<model:TileSizeToHeightConverterFix x:Key="TileSizeToHeightConverterFix"/>
<phone:JumpListItemBackgroundConverter x:Key="BackgroundConverter"/>
<phone:JumpListItemForegroundConverter x:Key="ForegroundConverter"/>
<Style x:Key="ContactsJumpListStyle" TargetType="phone:LongListSelector">
......@@ -54,10 +53,10 @@
</Setter.Value>
</Setter>
</Style>
<!--We have to override default hubtile style to replace two converters bugged by our own with the fix-->
<toolkit:TileSizeToHeightConverter x:Key="HeightConverter"/>
<toolkit:TileSizeToWidthConverter x:Key="WidthConverter"/>
<model:TileSizeToWidthConverterFix x:Key="TileSizeToWidthConverterFix"/>
<model:TileSizeToHeightConverterFix x:Key="TileSizeToHeightConverterFix"/>
<Style x:Key="HubTile" TargetType="toolkit:HubTile">
<Setter Property="Height" Value="173"/>
<Setter Property="Width" Value="173"/>
......@@ -71,7 +70,7 @@
<CubicEase x:Key="HubTileEaseOut" EasingMode="EaseOut"/>
</Border.Resources>
<Border.Height>
<Binding Converter="{StaticResource HeightConverter}" Path="Size" RelativeSource="{RelativeSource TemplatedParent}"/>
<Binding Converter="{StaticResource TileSizeToHeightConverterFix}" Path="Size" RelativeSource="{RelativeSource TemplatedParent}"/>
</Border.Height>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ImageStates">
......@@ -176,7 +175,7 @@
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border.Width>
<Binding Converter="{StaticResource WidthConverter}" Path="Size" RelativeSource="{RelativeSource TemplatedParent}"/>
<Binding Converter="{StaticResource TileSizeToWidthConverterFix}" Path="Size" RelativeSource="{RelativeSource TemplatedParent}"/>
</Border.Width>
<StackPanel x:Name="Viewport" Height="{Binding Size, Converter={StaticResource TileSizeToHeightConverterFix}, RelativeSource={RelativeSource TemplatedParent}}" Width="{Binding Size, Converter={StaticResource TileSizeToWidthConverterFix}, RelativeSource={RelativeSource TemplatedParent}}">
<StackPanel.Projection>
......
......@@ -6,7 +6,6 @@
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:controls="clr-namespace:Linphone.Controls"
xmlns:linphone="clr-namespace:Linphone"
mc:Ignorable="d"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment