Welcome to the .NET MAUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the .NET MAUI, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

System.InvalidCastException: 'Unable to cast object of type 'CommunityToolkit.Mvvm.Input.AsyncRelayCommand' to type 'Microsoft.Maui.Controls.Command'.'



How to Reproduce: 

  1. Create SfButton 
  2. Bind Command on (CommunityToolkit) [RelayCommand] with async Task - Method
  3. Page - OnUnloaded set BindingContext = null