How can I combine XAML and a template into one C# template with Rg.Plugins.Popup?
问题 I would like to simplify the addition of dialog popups in my code to the absolute minimum needed. Currently I have this code: <pages:PopupPage x:Class="Test.Popup" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:pages="clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup"> <ContentView HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> <t:PopupFrame> <Label Text="ABC" /> <Label Text="ABC" /> </t:PopupFrame> <