프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / KCOM / Controls / thumbnailControl.xaml @ d04e8ee9

이력 | 보기 | 이력해설 | 다운로드 (2.65 KB)

1
<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
             <!--d:DesignHeight="110" d:DesignWidth="80">-->
10
    
11
    <Grid x:Name="LayoutRoot">
12
        <Grid>
13
            <Grid.RowDefinitions>
14
                <RowDefinition Height="*"/>
15
                <RowDefinition Height="Auto"/>
16
            </Grid.RowDefinitions>
17
            <Grid.ColumnDefinitions>
18
                
19
            </Grid.ColumnDefinitions>
20
            <Grid Grid.Row="0"  RenderTransformOrigin="0.5,0.5">
21
                <Grid.RenderTransform>
22
                    <RotateTransform Angle="{Binding Angle, Mode=TwoWay}"/>
23
                </Grid.RenderTransform>
24
                <Border Margin="20,7,20,5" HorizontalAlignment="Stretch" BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" BorderThickness="1,1,1.5,1.5">
25
                <!--<Border Margin="10,5" HorizontalAlignment="Stretch" BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" BorderThickness="0">-->
26
                    <!--<Image Stretch="Uniform" Source="{Binding ImageUri}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>-->
27
                    <Grid RenderTransformOrigin="0.5,0.5">
28
                        
29
                        <!--<Image Stretch="Uniform" Source="{Binding ImageUri}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="10"/>-->
30
                        <Image Stretch="Uniform" Source="{Binding ImageUri,IsAsync=True}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
31
                    </Grid>
32
                </Border>
33
            </Grid>
34
            <Border HorizontalAlignment="Stretch"  Background="Transparent" BorderBrush="Black" BorderThickness="0.2" VerticalAlignment="Bottom" Grid.Row="1" Margin="0,0,0,2">
35
                <Grid>
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>
클립보드 이미지 추가 (최대 크기: 500 MB)