top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is difference between DisplayAlert and DisplayActionSheet in Xamarin?

0 votes
64 views
What is difference between DisplayAlert and DisplayActionSheet in Xamarin?
posted Oct 10, 2017 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Using DisplayActionSheet we can Perform Perform Any kind of Action.

var x = await App.Current.MainPage.DisplayActionSheet("Title", "Cancel", null, "Button1", "Button2", "Button3","Button4");
Console.WriteLine(x);

Here,Above Example we take 4 buttons and using DisplayActionSheet we can perform Any kind of Action on that buttons.
Using DisplayAlert we can't do that.Using DisplayAlert we can only show Alert box to the user.

answer Aug 14 by Rushabh Verma R.
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...