123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <UserControl
- x:Class="PDF_Master.Views.PropertyPanel.ViewModular.ReadViewContent"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:Viewer="clr-namespace:ComPDFKitViewer.PdfViewer;assembly=ComPDFKit.Viewer"
- xmlns:convert="clr-namespace:PDF_Master.DataConvert"
- 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.ViewModular"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:viewmodels="clr-namespace:PDF_Master.ViewModels.PropertyPanel.ViewModular"
- d:DataContext="{d:DesignInstance Type=viewmodels:ReadViewContentViewModel}"
- d:DesignHeight="450"
- d:DesignWidth="800"
- prism:ViewModelLocator.AutoWireViewModel="True"
- KeyDown="UserControl_KeyDown"
- mc:Ignorable="d">
- <Grid>
- <ContentControl
- x:Name="PDFViewerContent"
- HorizontalAlignment="Stretch"
- prism:RegionManager.RegionName="{Binding ReadRegionName}" />
- <Border
- Width="316"
- Height="40"
- VerticalAlignment="Top"
- Background="{StaticResource color.sys.layout.dark.bg}"
- CornerRadius="4"
- Visibility="{Binding PressEscTip}">
- <TextBlock
- x:Name="PressEscTip"
- Padding="11"
- Foreground="#FFFFFFFF"
- Text="{Binding T_ESCReadMode}"
- TextAlignment="Center" />
- </Border>
- <!-- 阅读模式下的页面控件 -->
- <Border
- Height="44"
- Margin="0,0,0,16"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- CornerRadius="4"
- Background="Transparent"
- MouseEnter="RectangleReadMode_MouseEnter"
- MouseLeave="ReadModeContent_MouseLeave"
- Visibility="{Binding ReadModeContentVisibility}">
- <ContentControl x:Name="ReadModeContent" prism:RegionManager.RegionName="{Binding ReadModeRegionName}" />
- </Border>
- <Rectangle
- x:Name="RectangleReadMode"
- Width="{Binding ActualWidth, ElementName=ReadModeContent, Mode=OneWay}"
- Height="44"
- Margin="0,0,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Fill="Transparent"
- MouseEnter="RectangleReadMode_MouseEnter"
- Visibility="{Binding RectangleReadModeVisibility}" />
- </Grid>
- </UserControl>
|