RedactionDocumentContent.xaml 1.5 KB

123456789101112131415161718192021
  1. <UserControl x:Class="PDF_Office.Views.EditTools.Redaction.RedactionDocumentContent"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:prism="http://prismlibrary.com/" xmlns:redaction="clr-namespace:PDF_Office.ViewModels.EditTools.Redaction" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. prism:ViewModelLocator.AutoWireViewModel="True">
  6. <Grid Height="720" Width="1280">
  7. <Border CornerRadius="4" Background="#323232" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="41,0,0,25" Height="53" Width="93" Panel.ZIndex="1" >
  8. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
  9. <TextBlock Text="{Binding CurrentPageIndex, Mode=TwoWay}" Foreground="White" FontSize="20"></TextBlock>
  10. <TextBlock Text="/" Foreground="White" FontSize="20"></TextBlock>
  11. <TextBlock Text="{Binding PageRangeNumber, Mode=TwoWay}" FontSize="20" Foreground="White"></TextBlock>
  12. </StackPanel>
  13. </Border>
  14. <Grid Height="676" Width="1220" VerticalAlignment="Bottom" HorizontalAlignment="Right">
  15. <ContentControl
  16. x:Name="PDFViewerContent"
  17. HorizontalAlignment="Stretch"
  18. prism:RegionManager.RegionName="{Binding ViewerRegionName}" />
  19. </Grid>
  20. </Grid>
  21. </UserControl>