1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <UserControl x:Class="PDF_Office.Views.PropertyPanel.AnnotPanel.StampAnnotProperty"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PDF_Office.Views.PropertyPanel.AnnotPanel"
- xmlns:annotpanel="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
- xmlns:dd="clr-namespace:PDFSettings;assembly=PDFSettings"
- d:DataContext="{d:DesignInstance Type=annotpanel:StampAnnotPropertyViewModel}"
- mc:Ignorable="d"
- >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <TextBlock x:Name="AnnoteTypeTitle" Text="Stamp" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0 8 0 0" FontFamily="Segoe UI Semibold" FontWeight="SemiBold" FontSize="18"/>
- <TabControl Grid.Row="1" Name="StampTabControl" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Style="{StaticResource TabControlWithUnderLineStyle}">
- <TabItem x:Name="TabStandard"
- Header="Standard"
- FontFamily="Segoe UI" Foreground="#FF666666"
- HorizontalContentAlignment="Center"
- FontSize="16"
- Height="40"
- Width="88"
- IsSelected="True">
- <ListBox ItemsSource="{Binding StandardStampList}" SelectionMode="Single" Width="256" Height="auto" VerticalAlignment="Top" BorderThickness="0" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
- <ListBox.ItemTemplate>
- <DataTemplate >
- <ListBoxItem>
- <Image Source="{Binding SourcePath}" Stretch="Uniform" Height="48"/>
- </ListBoxItem>
- </DataTemplate>
- </ListBox.ItemTemplate>
- <ListBox.ItemContainerStyle>
- <Style TargetType="ListBoxItem">
- <Setter Property="Height" Value="64"/>
- <Setter Property="Padding" Value="12 8 12 8"/>
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
- <EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBoxItem_PreviewMouseLeftButtonDown"/>
- </Style>
- </ListBox.ItemContainerStyle>
- </ListBox>
-
- </TabItem>
- <TabItem x:Name="TabDydamic"
- Header="Dynamic"
- FontFamily="Segoe UI" Foreground="#FF666666"
- HorizontalContentAlignment="Center"
- FontSize="16"
- Width="86">
- </TabItem>
- <TabItem x:Name="TabCustom"
- Header="Custom"
- FontFamily="Segoe UI" Foreground="#FF666666"
- FontSize="16"
- HorizontalContentAlignment="Center"
- Width="76">
- </TabItem>
- </TabControl>
- </Grid>
- </UserControl>
|