view Source/EditableObjects/EditableListChangedEventArgs.cs @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
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)
		{
		}
	}
}