Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Open a pop up on button click which is using ViewModel for binding i.e. CommandProperty

$
0
0

I'm using the below code to bind button click event.

View

this.BindingContext = new SampleViewModel();

btnClick.SetBinding(Button.CommandProperty,"ButtonClick");

ViewModel

I'm implementing button click event using ICommand.

I want to show a custom pop up on that click event.

Thanks .


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>