25 строки
1.0 KiB
XML
25 строки
1.0 KiB
XML
<democommon:DemoControl
|
|
x:Class="syncfusion.pdfviewerdemos.wpf.BookmarkNavigation"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:cc="clr-namespace:Syncfusion.Windows.PdfViewer;assembly=Syncfusion.PdfViewer.WPF"
|
|
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf"
|
|
xmlns:local="clr-namespace:syncfusion.pdfviewerdemos.wpf"
|
|
Title="Bookmarks Navigation">
|
|
<democommon:DemoControl.DataContext>
|
|
<local:BookmarkNavigationViewModel />
|
|
</democommon:DemoControl.DataContext>
|
|
<Grid>
|
|
<cc:PdfViewerControl
|
|
x:Name="pdfviewer1"
|
|
Grid.RowSpan="3"
|
|
WarnBeforeClose="False"
|
|
Margin="8px"
|
|
AllowDrop="True"
|
|
BorderThickness="1"
|
|
BorderBrush="{DynamicResource BorderAlt}"
|
|
ItemSource="{Binding DocumentStream}"
|
|
ZoomMode="FitWidth" />
|
|
</Grid>
|
|
</democommon:DemoControl>
|