|
@@ -9,8 +9,8 @@
|
|
|
<Grid>
|
|
|
<components:DocumentViewer Name="Viewer"
|
|
|
IsVisible="{Binding Document,Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
|
- FileName="{Binding Document?.FileName}"
|
|
|
- Data="{Binding Document?.Data}"/>
|
|
|
+ FileName="{Binding Document.FileName, FallbackValue=''}"
|
|
|
+ Data="{Binding Document.Data, FallbackValue=''}"/>
|
|
|
<Label Name="NoImage"
|
|
|
Content="File Not Available!"
|
|
|
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|