Ooui-tws-port/Samples/DotMatrixClockSample.cs

22 lines
461 B
C#
Raw Normal View History

2017-12-12 20:31:15 +00:00
using Ooui;
using Xamarin.Forms;
namespace Samples
{
public class DotMatrixClockSample : ISample
{
public string Title => "Xamarin.Forms DoMatrixClock";
public Ooui.Element CreateElement()
{
var page = new DotMatrixClock.DotMatrixClockPage();
return page.GetOouiElement();
}
public void Publish()
{
UI.Publish("/dotmatrixclock", CreateElement);
}
}
}