Beispiel #1
0
        /// <summary>
        /// Allow the analytic user controls to reset their selections when the filter is reset
        /// </summary>
        void FilterTextBox_ResetFilter(object sender, RoutedEventArgs e)
        {
            TagCloudControl.ClearSelection();
            AgeDistributionControl.ClearSelection();
            BirthdaysControl.ClearSelection();
            GenderDistributionControl1.ClearSelection();
            LivingDistributionControl1.ClearSelection();

            surnameFilter   = null;
            ageFilter       = null;
            birthdateFilter = null;
            livingFilter    = null;
            genderFilter    = null;
            scrollToTop();
        }
Beispiel #2
0
 /// <summary>
 /// Remove the highlight from the data panels controls when the filter text changes
 /// </summary>
 private void UpdateControls(string filter)
 {
     if (ageFilter != filter)
     {
         AgeDistributionControl.ClearSelection();
     }
     if (surnameFilter != filter)
     {
         TagCloudControl.ClearSelection();
     }
     if (birthdateFilter != filter)
     {
         BirthdaysControl.ClearSelection();
     }
     if (livingFilter != filter)
     {
         LivingDistributionControl1.ClearSelection();
     }
     if (genderFilter != filter)
     {
         GenderDistributionControl1.ClearSelection();
     }
 }
Beispiel #3
0
 /// <summary>
 /// Allow the analytic user controls to reset their selections when the filter is reset
 /// </summary>
 void FilterTextBox_ResetFilter(object sender, RoutedEventArgs e)
 {
     TagCloudControl.ClearSelection();
     AgeDistributionControl.ClearSelection();
     BirthdaysControl.ClearSelection();
 }