Ooui-tws-port/Samples/XuzzleSample.cs

22 lines
422 B
C#
Raw Normal View History

2017-12-12 20:22:13 +00:00
using Ooui;
using Xamarin.Forms;
namespace Samples
{
public class XuzzleSample : ISample
{
public string Title => "Xamarin.Forms Xuzzle";
public Ooui.Element CreateElement()
{
var page = new Xuzzle.XuzzlePage();
return page.GetOouiElement();
}
public void Publish()
{
UI.Publish("/xuzzle", CreateElement);
}
}
}