public void FriendRemoved(string username) { FriendData item = ClientInformation.MainWindow.Friends.Items.ToList().Find(x => x.Username == username); ClientInformation.MainWindow.Friends.Items.Remove(item); }