개정판 74abcf6f
sign manager 추가
Change-Id: Ia511ce9bf05e3a238353a549118d3b29ab673aa0
KCOM/Controls/SignManager.xaml | ||
---|---|---|
5 | 5 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 | 6 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
7 | 7 |
xmlns:local="clr-namespace:KCOM.Controls" Background="White" |
8 |
mc:Ignorable="d" Height="450" Width="1000">
|
|
8 |
mc:Ignorable="d" Height="350" Width="1000">
|
|
9 | 9 |
<UserControl.Resources> |
10 | 10 |
<FontFamily x:Key="MayQueen">pack://application:,,,/Resources/#May Queen</FontFamily> |
11 | 11 |
</UserControl.Resources> |
... | ... | |
21 | 21 |
<ColumnDefinition Width="Auto"/> |
22 | 22 |
<ColumnDefinition Width="Auto"/> |
23 | 23 |
</Grid.ColumnDefinitions> |
24 |
<StackPanel Orientation="Horizontal"> |
|
24 |
<StackPanel Orientation="Horizontal" Visibility="Collapsed">
|
|
25 | 25 |
<TextBlock Text="Input Signature as Text : " FontSize="14"/> |
26 | 26 |
<telerik:RadWatermarkTextBox x:Name="txtInput" WatermarkContent="Input Text" Width="150"/> |
27 |
</StackPanel> |
|
27 |
</StackPanel>
|
|
28 | 28 |
<telerik:RadButton Margin="10,0,10,0" Grid.Column="2" Click="Reset_Click" telerik:StyleManager.Theme="Office2016"> |
29 | 29 |
<StackPanel Orientation="Horizontal"> |
30 | 30 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Minus.png" Width="16" Height="16"/> |
... | ... | |
45 | 45 |
</Grid.RowDefinitions> |
46 | 46 |
<TextBlock Text="Draws a signature." IsHitTestVisible="False" Grid.RowSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontStyle="Italic" FontSize="50" FontWeight="Bold" Foreground="#FFB2B2B2"/> |
47 | 47 |
<TextBlock Text="{Binding Text, ElementName=txtInput, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" x:Name="txtSignStr" IsHitTestVisible="False" Grid.RowSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="150" Foreground="Black" FontFamily="/KCOM;component/Resources/#May Queen"/> |
48 |
<InkCanvas Grid.RowSpan="2" x:Name="SignCanvas" Background="Transparent" SourceUpdated="SignCanvas_SourceUpdated" StrokeCollected="SignCanvas_StrokeCollected"/> |
|
48 |
<Canvas x:Name="editCanvas" Background="Transparent" Margin="5,5" Height="220" ClipToBounds="True"> |
|
49 |
<InkCanvas Grid.RowSpan="2" x:Name="SignCanvas" Height="220" VerticalAlignment="Stretch" Background="Transparent" SourceUpdated="SignCanvas_SourceUpdated" StrokeCollected="SignCanvas_StrokeCollected" Width="{Binding ActualWidth, ElementName=editCanvas, Mode=OneWay}"> |
|
50 |
<InkCanvas.DefaultDrawingAttributes> |
|
51 |
<DrawingAttributes Color="Black" Width="10" Height="10"/> |
|
52 |
</InkCanvas.DefaultDrawingAttributes> |
|
53 |
</InkCanvas> |
|
54 |
</Canvas> |
|
49 | 55 |
<Rectangle Margin="10,10" Height="200" Stroke="#FF767676"/> |
56 |
<!--<Border Margin="10,10" Width="200" Height="100" BorderThickness="1" BorderBrush="#FF767676" VerticalAlignment="Top" HorizontalAlignment="Right"> |
|
57 |
<Image x:Name="preview" Stretch="Fill"/> |
|
58 |
</Border>--> |
|
50 | 59 |
</Grid> |
51 | 60 |
</Grid> |
52 | 61 |
</UserControl> |
내보내기 Unified diff