Programmatically show/hide a panel card

Would the same concept apply?