private void BtnClose_Click(object sender, RoutedEventArgs e) { ClosePopup?.Invoke(sender, e); }
private void Rectangle_Tapped(object sender, TappedRoutedEventArgs e) { ClosePopup?.Invoke(sender, e); }
void Close() => ClosePopup.InvokeAsync();
private void BtnClose_Click(object sender, RoutedEventArgs e) { ClosePopup?.Invoke(sender, e); }
private void Rectangle_Tapped(object sender, TappedRoutedEventArgs e) { ClosePopup?.Invoke(sender, e); }
void Close() => ClosePopup.InvokeAsync();