6 changed files with 24 additions and 64 deletions
@ -1,17 +1,12 @@
@@ -1,17 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<UserControl |
||||
x:Class="ICSharpCode.Reports.Core.WpfReportViewer.WpfReportViewer" |
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
||||
<!-- {Binding Path=PathToProperty, RelativeSource={RelativeSource AncestorType={x:Type typeOfAncestor}}} --> |
||||
x:Class="ICSharpCode.Reports.Core.WpfReportViewer.WpfReportViewer" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
||||
<Grid> |
||||
<DocumentViewer |
||||
x:Name="DocumentViewer" |
||||
Document="{Binding Path=DataContext.Document, |
||||
PresentationTraceSources.TraceLevel=High, |
||||
RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}" |
||||
Document="{Binding Path=DataContext.Document,
			PresentationTraceSources.TraceLevel=High,
			RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}" |
||||
HorizontalAlignment="Stretch" |
||||
VerticalAlignment="Stretch"></DocumentViewer> |
||||
|
||||
VerticalAlignment="Stretch" |
||||
SnapsToDevicePixels="True"></DocumentViewer> |
||||
</Grid> |
||||
</UserControl> |
Loading…
Reference in new issue