Ooui-tws-port/Samples/DotMatrixClockSample.cs

22 lines
461 B
C#

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);
}
}
}