ArcGISWindowsPhoneSDK.Thematic_Interactive.ClassCountListBox_SelectionChanged C# (CSharp) Method

ClassCountListBox_SelectionChanged() private method

private ClassCountListBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
sender object
e System.Windows.Controls.SelectionChangedEventArgs
return void
        private void ClassCountListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (ClassCountListBox != null)
            {
                ListBoxItem item = ClassCountListBox.SelectedItem as ListBoxItem;
                _classCount = Convert.ToInt32(item.Content);

                ClassCountChoicesPage.IsOpen = false;
            }
        }