public void deselect() { Border.BorderBrush = Brushes.Transparent; parent.removeFromSelectedCards(this); }