Esempio n. 1
0
        private static void OnFilterTextValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            if (d == null)
            {
                return;
            }

            DsxColumn _context  = (DsxColumn)d;
            string    _newValue = (string)e.NewValue;
            string    _oldValue = (string)e.OldValue;

            if (_newValue != _oldValue && _context.FilterTextChanged != null)
            {
                _context.FilterTextChanged(_context, null);
            }
            _context.FilterUpdateDisplay();
        }