public void Close() { if (cardOpen) { FlipClose.Begin(); cardOpen = false; } }
public void Open() { MemoryCardOpened?.Invoke(this, null); if (IsValidator == false) { if (cardOpen == false) { FlipOpen.Begin(); cardOpen = true; } else { FlipClose.Begin(); cardOpen = false; } } }
private void CardTapped(object sender, TappedRoutedEventArgs e) { if (_isOpen) { FlipOpen.Begin(); _isOpen = !_isOpen; } else { FlipClose.Begin(); _isOpen = !_isOpen; } //if (Tap != null) //{ // Tap(this, e); //} }
private void MemoryCard_Loaded(object sender, RoutedEventArgs e) { FlipClose.Begin(); }