/// <summary> /// Removes a delegate from the list of those to be called when /// the list snaps to an item. /// </summary> /// <param name="del">The delegate to remove.</param> public void RemoveItemSnappedDelegate(ItemSnappedDelegate del) { itemSnappedDel -= del; }
/// <summary> /// Adds a delegate to be called when the list snaps to an item. /// </summary> /// <param name="del">Delegate to be called.</param> public void AddItemSnappedDelegate(ItemSnappedDelegate del) { itemSnappedDel += del; }