public async Task Handle(SelectedExplorerItemChanged @event) { selectedExplorerItem = @event.SelectedExplorerItem; await RefreshMessages(); SearchBar.NotifyPropertiesChanged(); }
private void NotifyPropertiesChanged() { NotifyOfPropertyChange(() => SelectedExplorerItem); NotifyOfPropertyChange(() => CanCopyHeaders); NotifyOfPropertyChange(() => CanCopyMessageId); NotifyOfPropertyChange(() => CanReturnToSource); NotifyOfPropertyChange(() => CanRetryMessage); SearchBar.NotifyPropertiesChanged(); }
public void Handle(SelectedMessageChanged message) { var msg = Selection.SelectedMessage; if (msg == null) { return; } var newFocusedRow = Rows.FirstOrDefault(row => row.MessageId == msg.MessageId && row.TimeSent == msg.TimeSent && row.Id == msg.Id); if (newFocusedRow != null) { Selection.SelectedMessage = newFocusedRow; SearchBar.NotifyPropertiesChanged(); } }
void NotifyPropertiesChanged() { NotifyOfPropertyChange(() => SelectedExplorerItem); SearchBar.NotifyPropertiesChanged(); }
public void Handle(SelectedExplorerItemChanged @event) { selectedExplorerItem = @event.SelectedExplorerItem; RefreshMessages(); SearchBar.NotifyPropertiesChanged(); }