private void checkTopmost_Checked(object sender, RoutedEventArgs e) { this.Topmost = checkTopmost.IsChecked.GetValueOrDefault(); }