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