|
|
|
|
<windows:BaseWindow x:Class="Kingo.Plugin.General.View.UCShowFile"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
|
|
|
|
xmlns:dxpdf="http://schemas.devexpress.com/winfx/2008/xaml/pdf"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
Height="450" Width="800">
|
|
|
|
|
<Grid>
|
|
|
|
|
<dxpdf:PdfViewerControl x:Name="pdfViewer" Visibility="Collapsed" CommandBarStyle="Ribbon" >
|
|
|
|
|
<dxpdf:PdfViewerControl.CommandProvider>
|
|
|
|
|
<dxpdf:PdfCommandProvider>
|
|
|
|
|
<dxpdf:PdfCommandProvider.RibbonActions>
|
|
|
|
|
<dxb:UpdateAction PropertyName="Visibility" Value="Collapsed"/>
|
|
|
|
|
</dxpdf:PdfCommandProvider.RibbonActions>
|
|
|
|
|
</dxpdf:PdfCommandProvider>
|
|
|
|
|
</dxpdf:PdfViewerControl.CommandProvider>
|
|
|
|
|
<dxpdf:PdfViewerControl.AttachmentsViewerSettings>
|
|
|
|
|
<dxpdf:PdfAttachmentsViewerSettings HideAttachmentsViewer="True" />
|
|
|
|
|
</dxpdf:PdfViewerControl.AttachmentsViewerSettings>
|
|
|
|
|
<dxpdf:PdfViewerControl.ThumbnailsViewerSettings>
|
|
|
|
|
<dxpdf:PdfThumbnailsViewerSettings HideThumbnailsViewer="True" />
|
|
|
|
|
</dxpdf:PdfViewerControl.ThumbnailsViewerSettings>
|
|
|
|
|
<dxpdf:PdfViewerControl.OutlinesViewerSettings>
|
|
|
|
|
<dxpdf:PdfOutlinesViewerSettings HideOutlinesViewer="True" />
|
|
|
|
|
</dxpdf:PdfViewerControl.OutlinesViewerSettings>
|
|
|
|
|
</dxpdf:PdfViewerControl>
|
|
|
|
|
<!--<WindowsFormsHost x:Name="winFormHost" Margin="0,46,0,0" />-->
|
|
|
|
|
<DocumentViewer x:Name="Viewer" Visibility="Collapsed"></DocumentViewer>
|
|
|
|
|
</Grid>
|
|
|
|
|
</windows:BaseWindow>
|