12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <UserControl
- x:Class="PDF_Office.Views.Dialog.PageEditDialogs.InsertDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:cus="clr-namespace:PDF_Office.CustomControl"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PDF_Office.Views.Dialog.PageEditDialogs"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:pageeditdialogs="clr-namespace:PDF_Office.ViewModels.Dialog.PageEditDialogs"
- xmlns:prism="http://prismlibrary.com/"
- Width="480"
- Height="472"
- d:DataContext="{d:DesignInstance Type=pageeditdialogs:InsertDialogViewModel}"
- d:DesignHeight="450"
- d:DesignWidth="800"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <cus:DialogContent Header="插入自定义页面">
- <cus:DialogContent.Content>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- </Grid.RowDefinitions>
- <ListBox />
- <StackPanel Grid.Row="1" Margin="16,0">
- <TextBlock
- FontSize="14"
- FontWeight="SemiBold"
- Text="页面大小" />
- <RadioButton Margin="0,12,0,0" Content="当前页" />
- <StackPanel Margin="0,12" Orientation="Horizontal">
- <RadioButton VerticalAlignment="Center" Content="标准" />
- <ComboBox Margin="8,0" />
- </StackPanel>
- <StackPanel Margin="0,0,0,12" Orientation="Horizontal">
- <RadioButton VerticalAlignment="Center" Content="自定义" />
- <TextBox
- Width="80"
- Height="32"
- Margin="8,0"
- VerticalAlignment="Center" />
- <TextBlock VerticalAlignment="Center" Text="X" />
- <TextBox
- Width="80"
- Height="32"
- Margin="8,0"
- VerticalAlignment="Center" />
- <ComboBox Width="80" />
- </StackPanel>
- </StackPanel>
- <StackPanel Grid.Row="2" Margin="16,0">
- <TextBlock
- FontSize="14"
- FontWeight="SemiBold"
- Text="方向" />
- <StackPanel Orientation="Horizontal">
- <RadioButton Margin="0,12,0,16" Content="纵向页面" />
- <RadioButton Margin="24,12,0,16" Content="横向页面" />
- </StackPanel>
- </StackPanel>
- </Grid>
- </cus:DialogContent.Content>
- <cus:DialogContent.BottmBar >
- <Grid>
- <Button
- Width="98"
- Height="32"
- Margin="16,0"
- HorizontalAlignment="Right"
- Command="{Binding CancelCommnad}"
- Content="取消" />
- <Button
- Width="98"
- Height="32"
- Margin="124,0"
- HorizontalAlignment="Right"
- Command="{Binding InsertCommnad}"
- Content="插入" />
- </Grid>
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|