I need the currently visible ContentPage, that is bind to a viewmodel, as a CommandParameter for a view model's command.
Like:
<Button Text="Save"
Command="{Binding AddObjectAndClosePage}"
CommandParameter={Binding MyContentPage} />
But Xamarin does not support the ElementNamebinding. How can I use now my ContentPage as parameter?