1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <UserControl
- x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.CreateFromHtmlDialog"
- 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:homepagetoolsdialogs="clr-namespace:PDF_Office.ViewModels.Dialog.HomePageToolsDialogs"
- xmlns:local="clr-namespace:PDF_Office.Views.Dialog.HomePageToolsDialogs"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- Width="432"
- Height="298"
- d:DataContext="{d:DesignInstance Type=homepagetoolsdialogs:CreateFromHtmlDialogViewModel}"
- d:DesignHeight="450"
- d:DesignWidth="800"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <cus:DialogContent Header="New From Web Page">
- <StackPanel Margin="16,0">
- <TextBlock Height="24" Text="Select Files" />
- <Grid Margin="0,8">
- <cus:TextBoxEx
- Width="360"
- Height="32"
- HorizontalAlignment="Left"
- CornerRadius="4"
- IsReadOnly="True"
- PlaceholderText="Select Files(.html)"
- Text="{Binding FilePath, Mode=TwoWay}" />
- <Button
- Width="32"
- Height="32"
- HorizontalAlignment="Right"
- Command="{Binding OpenFileCommnad}"
- Style="{StaticResource btn.sec}">
- <Path
- Width="32"
- Height="32"
- Data="M14.3972 13.5001L13.9519 12.8321L12.8269 11.1446C12.8084 11.1168 12.7771 11.1001 12.7437 11.1001H9.6C9.54477 11.1001 9.5 11.1449 9.5 11.2001V20.8001C9.5 20.8553 9.54477 20.9001 9.6 20.9001H22.4C22.4552 20.9001 22.5 20.8553 22.5 20.8001V13.6001C22.5 13.5449 22.4552 13.5001 22.4 13.5001H15.2H14.3972ZM9.6 9.6001C8.71634 9.6001 8 10.3164 8 11.2001V20.8001C8 21.6838 8.71634 22.4001 9.6 22.4001H22.4C23.2837 22.4001 24 21.6838 24 20.8001V13.6001C24 12.7164 23.2837 12.0001 22.4 12.0001H15.2L14.075 10.3126C13.7782 9.86746 13.2787 9.6001 12.7437 9.6001H9.6Z"
- Fill="{StaticResource color.icon.base.neutral.norm.lv1}" />
- </Button>
- </Grid>
- <TextBlock
- Height="20"
- Margin="0,10,0,0"
- Text="Page Configuration" />
- <StackPanel Margin="0,8" Orientation="Horizontal">
- <TextBlock
- MinWidth="62"
- VerticalAlignment="Center"
- Text="Page Size:" />
- <ComboBox
- Width="322"
- Height="32"
- Margin="16,0,0,0"
- ItemsSource="{Binding PageSizes}"
- SelectedIndex="{Binding SelectedIndex}" />
- </StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBlock
- MinWidth="62"
- VerticalAlignment="Center"
- Text="Spaceing:" />
- <cus:NumericUpDown
- Width="72"
- Height="32"
- Margin="16,0,16,0"
- Minimum="0"
- Value="{Binding Margin}" />
- <TextBlock VerticalAlignment="Center" Text="mm" />
- </StackPanel>
- </StackPanel>
- <cus:DialogContent.BottmBar>
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button
- Width="80"
- Height="32"
- Command="{Binding CreateCommand}"
- Content="Open"
- Style="{StaticResource Btn.cta}" />
- <Button
- Width="80"
- Height="32"
- Margin="16,0"
- Command="{Binding CancelCommand}"
- Content="Cancel"
- Style="{StaticResource btn.sec}" />
- </StackPanel>
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|