public void ReleaseEvent() { if (ItemClick != null) { // release event Delegate handler = ItemClick.GetInvocationList().FirstOrDefault(); if (handler != null) { ItemClick -= (EventHandler <RecyclerClickEventArgs>)handler; handler = null; } ItemClick = null; } }