Method OnCardsItemRemoved
OnCardsItemRemoved(object?, int, CardPanelItem)
Called when a card is removed from the Cards collection. Unsubscribes from the events of the removed card. If the removed card is the currently selected card, clears the selection.
protected virtual void OnCardsItemRemoved(object? sender, int index, CardPanelItem item)
Parameters
senderobjectThe source of the event (the collection).
indexintThe index of the removed card.
itemCardPanelItemThe card item that was removed.