Hi Iain Stirzaker,
Thank you for reaching out from Spain!
We understand you're encountering issues with the EventToCommandBehavior in your .NET 9 MAUI project, specifically when trying to bind the SelectionChanged event from an SfChipGroup inside an SfBottomSheet.
This behavior is due to a breaking change in .NET MAUI 9, where Behaviors no longer automatically inherit the BindingContext of their parent controls. This affects scenarios like yours, where the EventToCommandBehavior cannot resolve the command from the ViewModel unless the BindingContext is explicitly set.
As per your requirement, we’ve prepared a working sample and attached it for your reference. If we’ve misunderstood any part of your setup, please feel free to share more details, and we’ll be happy to adjust the solution accordingly.
Regards,
Vallarasu R.
Attachment:
SfChipGroupSample_d00e5786.zip