protected override void OnSet(int index, object oldValue, object newValue) { if (oldValue != newValue) { this.OnValidate(oldValue, false); this.OnValidate(newValue, true); base.OnSet(index, oldValue, newValue); } }