PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/CBR/CBR/Views/Books/XpsBookView.xaml

#
XAML | 12 lines | 12 code | 0 blank | 0 comment | 0 complexity | f61483b6c8e73ba4563b7ce32791684b MD5 | raw file
 1<UserControl x:Class="CBR.Views.XpsBookView"
 2             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6             xmlns:Converters="clr-namespace:CBR.Components.Converters"
 7             mc:Ignorable="d" 
 8             d:DesignHeight="300" d:DesignWidth="300">
 9    <Grid>
10        <DocumentViewer Document="{Binding DocumentContent}" Background="Black" Zoom="{Binding Scale, Mode=TwoWay, StringFormat={}{0:0}\%, Converter={x:Static Converters:ScaleToPercentConverter.Instance}}" />
11    </Grid>
12</UserControl>