privatevoidbutton1_Click(objectsender, EventArgse) { doPostMethod(); }
private void ListViewItem_PreviewMouseDown(objectsender, MouseButtonEventArgs e) { // Instantiate the view model and initialize DataContext from XAML instead. // This method became redundant. }