Xamarin.Forms 在 VS 上有设计器支持吗? [英] Does Xamarin.Forms have designer support on VS?
问题描述
我最近下载了 Microsoft 免费提供的 Xamarin.Forms.我在 Visual Studio 中四处寻找视觉设计器,该设计器通常包含在 Xamarin.Droid 和 Xamarin.IOS 中.Xamarin.Forms 没有这样的功能吗?我一定是遗漏了什么吗?
I recently downloaded Xamarin.Forms as Microsoft made it free. I am looking around in Visual Studio for a visual designer, that is usually included in Xamarin.Droid and Xamarin.IOS. Is there no such feature for Xamarin.Forms? Surely I must be missing something ?
推荐答案
Xamarin 目前没有 Xamarin.Forms 的设计器,但正在开发 Xamarin.Forms Previewer 直接与 XAML 标记并排呈现 Xamarin.Forms 页面的实时预览在 Visual Studio 和 Xamarin Studio IDE 中.
Xamarin does not have a designer for Xamarin.Forms at this time, but is working on the Xamarin.Forms Previewer which renders a live preview of a Xamarin.Forms page side-by-side with the XAML markup directly inside the Visual Studio and Xamarin Studio IDEs.
您可以通过单击 View -> 来打开 Xamarin.Forms 预览器.其他窗口 ->Xamarin.Forms Previewer
在 Visual Studio 菜单中,或者只是在 Visual Studio 快速启动框中搜索 Xamarin.Forms
.
You can open the Xamarin.Forms Previewer by clicking on View -> Other Windows -> Xamarin.Forms Previewer
in the Visual Studio menu or alternatively just searching for Xamarin.Forms
in the Visual Studio quicklaunch box.
除了官方的 Xamarin.Forms Previewer 之外,这个领域中至少还有其他第三方工具:
In addition to the official Xamarin.Forms Previewer, there is at least one other third party tool that exists in this space as well:
- UX Divers 的
- Gorilla Player 是一个实时 Xamarin.Forms 预览器,目前处于测试阶段,可在模拟器中运行以及硬件设备.
- Gorilla Player by UX Divers is a real time Xamarin.Forms previewer currently in beta that runs in both a simulator and on hardware devices.
更新(2018 年):现在还有 Xamarin Live用于 Xamarin.Forms 的播放器,允许您在开发时可视化在物理设备上实时运行的 XAML 布局.
Update (2018): There is now also the Xamarin Live Player for Xamarin.Forms that allows you visualize your XAML layouts running live on a physical device as you are developing them.
这篇关于Xamarin.Forms 在 VS 上有设计器支持吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!