Пример #1
0
        private static void FilterPathChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            FilteringComboBox fcb = sender as FilteringComboBox;

            fcb.OnFilterPathChanged((string)e.OldValue, (string)e.NewValue);
            fcb.OnDisplayMemberPathChanged((string)e.OldValue, (string)e.NewValue);

            fcb.SetFilter();
        }
Пример #2
0
        private static void FilterIgnoreCaseChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            FilteringComboBox fcb = sender as FilteringComboBox;

            fcb.OnFilterIgnoreCaseChanged((bool)e.OldValue, (bool)e.NewValue);
        }
Пример #3
0
        private static void FilterTextChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            FilteringComboBox fcb = sender as FilteringComboBox;

            fcb.OnFilterTextChanged((string)e.OldValue, (string)e.NewValue);
        }