markus / KCOM / Controls / thumbnailControl.xaml.bak @ 122914ba
이력 | 보기 | 이력해설 | 다운로드 (2.44 KB)
1 | 787a4489 | KangIngu | <UserControl x:Class="KCOM.Controls.thumbnailControl" |
---|---|---|---|
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||
4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
||
5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
||
6 | xmlns:local="clr-namespace:KCOM.Controls" |
||
7 | mc:Ignorable="d" xmlns:controls="clr-namespace:KCOM.Controls" |
||
8 | d:DesignHeight="300" d:DesignWidth="300"> |
||
9 | <Grid x:Name="LayoutRoot" > |
||
10 | <Grid.Resources> |
||
11 | <Storyboard x:Key="FadeImageStoryboard" RepeatBehavior="Forever"> |
||
12 | <DoubleAnimation From="1.0" |
||
13 | To="0.0" |
||
14 | Duration="0:0:0.1" |
||
15 | AutoReverse="True" |
||
16 | Storyboard.TargetName="LayoutRoot" |
||
17 | Storyboard.TargetProperty="Opacity" /> |
||
18 | </Storyboard> |
||
19 | </Grid.Resources> |
||
20 | <!--d:LayoutOverrides="Width, Height"--> |
||
21 | <Grid RenderTransformOrigin="0.5,0.5"> |
||
22 | <Grid.RowDefinitions> |
||
23 | <RowDefinition Height="*"/> |
||
24 | <RowDefinition Height="Auto"/> |
||
25 | </Grid.RowDefinitions> |
||
26 | <Grid.RenderTransform> |
||
27 | <RotateTransform Angle="{Binding Angle}"/> |
||
28 | </Grid.RenderTransform> |
||
29 | <Border Margin="10,5" HorizontalAlignment="Stretch" BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" BorderThickness="1,1,1.5,1.5"> |
||
30 | <Image Stretch="Uniform" Source="{Binding ImageUri}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/> |
||
31 | </Border> |
||
32 | |||
33 | <Border HorizontalAlignment="Stretch" Background="Transparent" BorderBrush="Black" BorderThickness="0.2" VerticalAlignment="Bottom" Grid.Row="1"> |
||
34 | <Grid> |
||
35 | <!--<Rectangle Fill="{DynamicResource KCOMColor_ActiveBrush}"/>--> |
||
36 | <TextBlock Text="{Binding PageNumber, FallbackValue=PageNo}" FontStyle="Italic" FontSize="14" HorizontalAlignment="Center"/> |
||
37 | </Grid> |
||
38 | </Border> |
||
39 | </Grid> |
||
40 | <Border Width="30" Height="20" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="10,5"> |
||
41 | <controls:MarkupColorList ColorList="{Binding DisplayColorItems}" Opacity="90"/> |
||
42 | </Border> |
||
43 | </Grid> |
||
44 | </UserControl> |