Skip to content

Instantly share code, notes, and snippets.

@biac
Created June 11, 2012 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biac/2909236 to your computer and use it in GitHub Desktop.
Save biac/2909236 to your computer and use it in GitHub Desktop.
Kujian - SplitPage.xaml.cs (NEXT ボタン)
private void NextButton_Click_1(object sender, RoutedEventArgs e)
{
itemListView.Background = backButton.Background;
var selected = itemListView.SelectedItem as Kujian.Data.SampleDataItem;
var dataGroup = itemListView.DataContext as Kujian.Data.SampleDataGroup;
dataGroup.Items.Remove(selected);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment