diff --git a/Samples/WindowsUniversal/Sample.WindowsUniversal/MainPage.xaml.cs b/Samples/WindowsUniversal/Sample.WindowsUniversal/MainPage.xaml.cs index 65ed547ae..29cbe5998 100644 --- a/Samples/WindowsUniversal/Sample.WindowsUniversal/MainPage.xaml.cs +++ b/Samples/WindowsUniversal/Sample.WindowsUniversal/MainPage.xaml.cs @@ -34,7 +34,7 @@ public MainPage() //Create a new instance of our scanner scanner = new MobileBarcodeScanner(this.Dispatcher); - scanner.Dispatcher = this.Dispatcher; + scanner.RootFrame = this.Frame; } private void buttonScanDefault_Click(object sender, RoutedEventArgs e)