12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <UserControl
- x:Class="PDF_Master.Views.PropertyPanel.AnnotPanel.DynamicPropertyDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:annotpanel="clr-namespace:PDF_Master.ViewModels.PropertyPanel.AnnotPanel"
- xmlns:cus="clr-namespace:PDF_Master.CustomControl"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
- xmlns:local="clr-namespace:PDF_Master.Views.PropertyPanel.AnnotPanel"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- Width="432"
- Height="162"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- d:DataContext="{d:DesignInstance Type={x:Type annotpanel:DynamicPropertyDialogViewModel}}"
- mc:Ignorable="d">
- <cus:DialogContent Header="动态图章">
- <cus:DialogContent.BottmBar>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
- <Button
- Width="80"
- Height="32"
- Style="{StaticResource Btn.cta}"
- Command="{Binding ApplyCommnad}"
- Content="确定" />
- <Button
- Width="80"
- Height="32"
- Margin="16,0"
- Style="{StaticResource btn.sec}"
- Command="{Binding CancelCommand}"
- Content="取消" />
- </StackPanel>
- </cus:DialogContent.BottmBar>
- <StackPanel
- Grid.Row="1"
- Height="50"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <CheckBox
- x:Name="chkAuthor"
- Margin="0,0,0,8"
- Padding="7,0,0,0"
- VerticalAlignment="Center"
- Content="Author"
- FontFamily="Seoge UI"
- FontSize="14"
- IsChecked="{Binding IsChecked}" />
- <TextBox
- x:Name="txtAuthor"
- Width="152"
- Height="32"
- Margin="0,0,0,8"
- HorizontalAlignment="Right"
- VerticalContentAlignment="Center"
- IsEnabled="{Binding IsChecked, ElementName=chkAuthor}"
- Text="{Binding Author, Mode=TwoWay}" />
- <TextBlock
- x:Name="lbCreateDate"
- Grid.Row="1"
- Margin="27,0,0,0"
- VerticalAlignment="Center"
- FontFamily="Seoge UI"
- FontSize="14"
- Foreground="Black"
- Text="Date" />
- <ComboBox
- x:Name="txtCreateDate"
- Grid.Row="1"
- Width="152"
- HorizontalAlignment="Right"
- Background="Transparent"
- BorderBrush="#FFE2E3E6"
- BorderThickness="1"
- ItemsSource="{Binding DateFormatList}"
- SelectedIndex="{Binding SelectedIndex}" />
- </StackPanel>
- </cus:DialogContent>
- </UserControl>
|