12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <UserControl
- x:Class="PDF_Office.Views.FillAndSign.FillAndSignContent"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:fillandsign="clr-namespace:PDF_Office.ViewModels.FillAndSign"
- xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
- xmlns:local="clr-namespace:PDF_Office.Views.FillAndSign"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- d:DataContext="{d:DesignInstance Type=fillandsign:FillAndSignContentViewModel}"
- d:DesignHeight="40"
- d:DesignWidth="800"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <UserControl.Resources>
- <ResourceDictionary>
- <Style BasedOn="{StaticResource SubToolbarRdb}" TargetType="{x:Type RadioButton}">
- <Setter Property="Height" Value="36" />
- <Setter Property="Width" Value="36" />
- <Setter Property="Background" Value="Transparent" />
- </Style>
- </ResourceDictionary>
- </UserControl.Resources>
- <Border BorderBrush="#1A000000" BorderThickness="0,1,0,1">
- <Grid>
- <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
- <RadioButton Name="RbtnText" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnText}" Width="36" Height="36" PreviewMouseDown="RbtnTick_Click">
- <Path Data="M16.75 2.75V6H15.25V4.25H10.75V16H13V17.5H7V16H9.25V4.25H4.75V6H3.25V2.75H16.75Z" Fill="Black">
- <Path.RenderTransform>
- <TranslateTransform X="-2" />
- </Path.RenderTransform>
- </Path>
- </RadioButton>
- <RadioButton Name="RbtnTick" IsChecked="{Binding HookShapeIsCheck}" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnTick}" Width="36" Height="36" PreviewMouseDown="RbtnTick_Click">
- <Path Data="M17.3725 3.20441L18.5688 4.10928L8.73555 17.1099L2.46973 10.844L3.53039 9.78337L8.57806 14.831L17.3725 3.20441Z" Fill="Black" />
- </RadioButton>
- <RadioButton Name="RbtnFork" PreviewMouseDown="RbtnTick_Click" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnFork}">
- <Path Data="M3.10571 15.8336L4.16637 16.8943L10 11.0607L15.8336 16.8943L16.8943 15.8336L11.0607 10L16.8943 4.16637L15.8336 3.10571L10 8.93934L4.16637 3.10571L3.10571 4.16637L8.93934 10L3.10571 15.8336Z" Fill="Black" />
- </RadioButton>
- <RadioButton Name="RbtnRectangle" PreviewMouseDown="RbtnTick_Click" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnRectangle}">
- <Path Data="M16 2.25H4C2.48122 2.25 1.25 3.48122 1.25 5V15C1.25 16.5188 2.48122 17.75 4 17.75H16C17.5188 17.75 18.75 16.5188 18.75 15V5C18.75 3.48122 17.5188 2.25 16 2.25ZM4 3.75H16C16.6904 3.75 17.25 4.30964 17.25 5V15C17.25 15.6904 16.6904 16.25 16 16.25H4C3.30964 16.25 2.75 15.6904 2.75 15V5C2.75 4.30964 3.30964 3.75 4 3.75Z" Fill="Black" />
- </RadioButton>
- <RadioButton Name="RbtnLine" PreviewMouseDown="RbtnTick_Click" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnLine}">
- <Path Data="M1 10.75L1 9.25L19 9.25L19 10.75L1 10.75Z" Fill="Black" />
- </RadioButton>
- <RadioButton Name="RbtnPoint" PreviewMouseDown="RbtnTick_Click" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnPoint}">
- <Ellipse
- Width="8"
- Height="8"
- Fill="Black" />
- </RadioButton>
- <RadioButton Name="RbtnDate" PreviewMouseDown="RbtnTick_Click" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnDate}">
- <Path Data="M1.25 2.25H18.75V17.75H1.25V2.25ZM17.25 16.25V7.75H2.75V16.25H17.25ZM17.25 3.75V6.25H2.75V3.75H17.25ZM11.3477 9.36328V15H9.91797V10.6562H9.84375L8.48438 11.5742V10.3398L9.91797 9.36328H11.3477Z" Fill="Black" />
- </RadioButton>
- <RadioButton Name="RbtnSign" PreviewMouseDown="RbtnTick_Click" Command="{Binding CheckCommand}" CommandParameter="{Binding ElementName=RbtnSign}">
- <Path Data="M17.0918 5.65684L12.1421 0.707092L8.96011 5.30329L5.07102 6.36395C5.07102 6.36395 4.87147 8.08677 4.36391 9.89948C4.00448 11.1832 2.91301 13.6629 2.30654 15.0009C1.93731 14.8314 1.48605 14.8987 1.18193 15.2028C0.791407 15.5933 0.791407 16.2265 1.18193 16.617C1.57246 17.0075 2.20562 17.0075 2.59614 16.617C2.90669 16.3064 2.97029 15.8425 2.78694 15.4691C3.97367 14.9025 6.12187 13.9327 7.89945 13.435C10.5062 12.7051 11.435 12.7279 11.435 12.7279L12.4956 8.83882L17.0918 5.65684ZM15.7543 15.3444C15.4494 14.838 14.8797 14.6444 14.0654 14.6632C12.7326 14.694 10.2694 15.3125 6.22428 16.6694L4.96283 17.0988L5.452 18.5168L5.86988 18.3733C9.99602 16.9622 12.5475 16.2788 13.855 16.1757L14.1 16.1628L14.2219 16.1623C14.2976 16.1636 14.362 16.168 14.4152 16.1748L14.425 16.176L14.3478 16.5493C14.2866 16.8554 14.2742 17.0167 14.3106 17.2492C14.3865 17.7346 14.7167 18.0933 15.2253 18.2318C15.8844 18.4112 16.9865 18.2461 18.8475 17.6998L19.4288 17.5244L18.986 16.0913L18.7156 16.1738C17.3037 16.5996 16.3792 16.7921 15.8978 16.8063L15.826 16.806L15.8978 16.4573C15.9813 15.9966 15.9656 15.6954 15.7543 15.3444ZM9.66721 9.54593L8.253 8.13171L6.13168 11.6672L9.66721 9.54593Z" Fill="Black" />
-
- </RadioButton>
- </StackPanel>
- </Grid>
- </Border>
- </UserControl>
|