Method OnCardsItemInserted
OnCardsItemInserted(object?, int, CardPanelItem)
Called when a card is inserted into the Cards collection. Subscribes to the events of the inserted card.
protected virtual void OnCardsItemInserted(object? sender, int index, CardPanelItem item)
Parameters
senderobjectThe source of the event (the collection).
indexintThe index where the card was inserted.
itemCardPanelItemThe card item that was inserted.