Xamarin 彈窗

包括通知類彈窗和選擇類彈窗,如下是安卓手機的顯示效果
1
2
3
4git

關鍵代碼

DisplayAlert("Alert", "You have been alerted", "OK");
var answer = await DisplayAlert("Question?", "Would you like to play a game", "Yes", "No");
var action = await DisplayActionSheet("ActionSheet: Send to?", "Cancel", null, "Email", "Twitter", "Facebook");

示例代碼

示例代碼github

參考資料

顯示彈出窗口c#

相關文章
相關標籤/搜索