private void OnShellDialogResponseMessageReceived(ShellDialogResponseMessage message) { if (message.Content is EditingTransactionController) { ListBoxItem listBoxItem = GetSelectedListBoxItem(); if (listBoxItem != null) { listBoxItem.Focus(); } } }