Example #1
0
        private static void OnDsxColumnChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            if (d == null || e.NewValue == null)
            {
                return;
            }

            DsxRowCell <T> _context  = (DsxRowCell <T>)d;
            DsxColumn      _newValue = (DsxColumn)e.NewValue;
            DsxColumn      _oldValue = (DsxColumn)e.OldValue;

            if (_newValue != _oldValue)
            {
                _context.InitElement(_newValue, false);
            }
        }