Developer technologies | .NET | .NET Multi-platform App UI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
I am working on a .Net MAUI app (in Visual Studio 2022), Android emulator used is Pixel 5 API 33.
For Datepicker control, need to define the DateSelected event in the ViewModel. Can you please let me know how to achieve this.
Thanks,
Salil
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Answer accepted by question author
You can use a behavior like
https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/behaviors/event-to-command-behavior