コード例 #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);
        }