显示带有Xamarin表单的弹出窗口 [英] Display a popup with xamarin forms
本文介绍了显示带有Xamarin表单的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在xamarin表单应用程序(iOS/Android PCL)中显示一个小弹出窗口
I want to display a small popup in a xamarin forms application (iOS/Android PCL)
我实际上正在使用ContentPage(XAML + C#代码)
I am actually working with a ContentPage (XAML + C# code)
我正在用以下方法显示此弹出窗口:
and i am showing this popup with:
await Navigation.PushModalAsync(mypopupinstance)
它可以正常工作,但是弹出窗口在全屏上.我只想要一个小弹出窗口,我想看看后面是什么.
It works fine, but the popup is on the full screen. I just want a small popup and i want to see what is behind.
谢谢
推荐答案
您需要在其他地方查找这种功能.这样的库就是Rotorgames的Popup插件: https://github.com/rotorgames/Rg.Plugins .弹出
You'll need to look elsewhere for this kind of functionality. One such library is Rotorgames' Popup plugin: https://github.com/rotorgames/Rg.Plugins.Popup
这篇关于显示带有Xamarin表单的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文