private void Board_OnLoaded(object sender, RoutedEventArgs e) { if (_hideBackButton) { HideBackButton(); } _dpi = this.Dpi(); }