In my platform agnostic Xamarin project, in the page view model (MVVM approach used) I have a command with the following code:
DateSelectionCommand =