Browse Source

using MyImage

Nattiden 1 year ago
parent
commit
6a64f1c1cd

+ 1 - 1
Project/structures/components/PlainHeaderImage.xaml

@@ -1,6 +1,6 @@
 <StackPanel Width="1000" HorizontalAlignment="Center">
   <Line X1="0" X2="1" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
-  <Image MaxHeight="170" MinWidth="800" Stretch="UniformToFill" Source="{$source}"/>
+  <local:MyImage MaxHeight="170" MinWidth="800" Stretch="UniformToFill" Source="{$source}"/>
   <Line X1="0" X2="1" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
 </StackPanel>
 <Border Style="{StaticResource verTxtBdr}" {$deco}>

+ 1 - 1
Project/structures/components/VersionHeaderImage.xaml

@@ -2,7 +2,7 @@
 <Border.Background>
 <ImageBrush ImageSource="${version-image-link}" Stretch="UniformToFill" />
 </Border.Background>
-<Image Source="${version-image-link}" Opacity="0" Stretch="Fill"/>
+<local:MyImage Source="${version-image-link}" Opacity="0" Stretch="Fill"/>
 </Border>
 <Border Style="{StaticResource VersionTitleBorder}">
 <TextBlock Style="{StaticResource VersionTitleBlock}" Text="${version-id}" />