Browse Source

enable compiled bindings on PreviewerWindow

Frederico Regateiro 3 years ago
parent
commit
ddde8e7517
1 changed files with 2 additions and 0 deletions
  1. 2 0
      QuestPDF.Previewer/PreviewerWindow.axaml

+ 2 - 0
QuestPDF.Previewer/PreviewerWindow.axaml

@@ -5,6 +5,8 @@
 		xmlns:previewer="clr-namespace:QuestPDF.Previewer"
 		xmlns:previewer="clr-namespace:QuestPDF.Previewer"
 		mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
 		mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
 		x:Class="QuestPDF.Previewer.PreviewerWindow"
 		x:Class="QuestPDF.Previewer.PreviewerWindow"
+		x:DataType="previewer:PreviewerWindowViewModel"
+		x:CompileBindings="True"
 		WindowStartupLocation="CenterScreen"
 		WindowStartupLocation="CenterScreen"
 		ExtendClientAreaToDecorationsHint="true"
 		ExtendClientAreaToDecorationsHint="true"
 		ExtendClientAreaTitleBarHeightHint="-1"
 		ExtendClientAreaTitleBarHeightHint="-1"