summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/Controls
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/Controls')
-rw-r--r--Xamarin.Forms.Controls/Controls/Issue3076Button.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/Controls/Issue3076Button.cs b/Xamarin.Forms.Controls/Controls/Issue3076Button.cs
new file mode 100644
index 0000000..0ab43bc
--- /dev/null
+++ b/Xamarin.Forms.Controls/Controls/Issue3076Button.cs
@@ -0,0 +1,14 @@
+´╗┐namespace Xamarin.Forms.Controls
+{
+ public class Issue3076Button : Button
+ {
+ public static readonly BindableProperty HorizontalContentAlignmentProperty =
+ BindableProperty.Create ("HorizontalContentAlignemnt", typeof(TextAlignment), typeof(Issue3076Button), TextAlignment.Center);
+
+ public TextAlignment HorizontalContentAlignment
+ {
+ get { return (TextAlignment)GetValue (HorizontalContentAlignmentProperty); }
+ set { SetValue (HorizontalContentAlignmentProperty, value); }
+ }
+ }
+} \ No newline at end of file