view Source/EditableObjects/EditableListChangedEventArgs.cs @ 4:f757da6161a1

!bug 100 + 2h fixed gregression
author cin
date Sun, 24 Aug 2014 17:57:42 +0400
parents f990fcb411a9
children
line wrap: on
line source

using System.ComponentModel;

namespace BLToolkit.EditableObjects
{
	public class EditableListChangedEventArgs : ListChangedEventArgs
	{
		public EditableListChangedEventArgs(int newIndex, int oldIndex)
			: base(ListChangedType.ItemMoved, newIndex, oldIndex)
		{
		}

		public EditableListChangedEventArgs(ListChangedType listChangedType, int index)
			: base(listChangedType, index)
		{
		}

		public EditableListChangedEventArgs(ListChangedType listChangedType)
			: base(listChangedType, -1)
		{
		}

		public EditableListChangedEventArgs(int index, PropertyDescriptor propDesc)
			: base(ListChangedType.ItemChanged, index, propDesc)
		{
		}
	}
}