public ShellPage(IDialogService dialogService, IDataService dataService) { InitializeComponent(); if (win.ApplicationModel.DesignMode.DesignModeEnabled) { return; } _gestureService = GestureService.GetForCurrentView(); _dialogService = dialogService; _dataService = dataService; ShellView.Initialize(); ShellView.Loaded += (s, e) => { SetupGestures(); }; }