显示带有 xamarin 表单的弹出窗口 [英] Display a popup with xamarin forms

查看:22
本文介绍了显示带有 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 的弹出插件就是这样的一个库: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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆