diff --git a/Samples/ButtonXamlPage.xaml b/Samples/ButtonXamlPage.xaml
new file mode 100755
index 0000000..6f601c1
--- /dev/null
+++ b/Samples/ButtonXamlPage.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Samples/ButtonXamlPage.xaml.cs b/Samples/ButtonXamlPage.xaml.cs
new file mode 100755
index 0000000..7a94d1c
--- /dev/null
+++ b/Samples/ButtonXamlPage.xaml.cs
@@ -0,0 +1,23 @@
+using System;
+using Xamarin.Forms;
+
+namespace ButtonXaml
+{
+ public partial class ButtonXamlPage
+ {
+ int count = 0;
+
+ public ButtonXamlPage()
+ {
+ InitializeComponent();
+ }
+
+ public void OnButtonClicked(object sender, EventArgs args)
+ {
+ count++;
+
+ ((Button)sender).Text =
+ String.Format("{0} click{1}!", count, count == 1 ? "" : "s");
+ }
+ }
+}
diff --git a/Samples/ButtonXamlPageSample.cs b/Samples/ButtonXamlPageSample.cs
new file mode 100644
index 0000000..4b95f6d
--- /dev/null
+++ b/Samples/ButtonXamlPageSample.cs
@@ -0,0 +1,17 @@
+using System;
+using Ooui;
+using Xamarin.Forms;
+
+namespace Samples
+{
+ public class ButtonXamlPageSample : ISample
+ {
+ public string Title => "Xamarin.Forms Button XAML";
+
+ public Ooui.Element CreateElement ()
+ {
+ var page = new ButtonXaml.ButtonXamlPage ();
+ return page.GetOouiElement ();
+ }
+ }
+}
diff --git a/Samples/Samples.csproj b/Samples/Samples.csproj
index db31a86..e12675d 100644
--- a/Samples/Samples.csproj
+++ b/Samples/Samples.csproj
@@ -8,6 +8,9 @@
+
+
+
Exe
netcoreapp2.0