summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla31967.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla31967.xaml.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla31967.xaml.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla31967.xaml.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla31967.xaml.cs
new file mode 100644
index 00000000..acb8230e
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla31967.xaml.cs
@@ -0,0 +1,47 @@
+´╗┐using System;
+using System.Collections.Generic;
+
+using Xamarin.Forms.CustomAttributes;
+
+using Xamarin.Forms;
+using System.ComponentModel;
+
+namespace Xamarin.Forms.Controls
+{
+#if APP
+ [Preserve (AllMembers = true)]
+ [Issue (IssueTracker.Bugzilla, 31967, "Grid Layout on Bound RowDefinition")]
+ public partial class Bugzilla31967 : ContentPage
+ {
+ public Bugzilla31967 ()
+ {
+ InitializeComponent ();
+ BindingContext = new Bugzilla31967Vm ();
+ }
+
+ public class Bugzilla31967Vm: INotifyPropertyChanged {
+ public Command Fire {
+ get { return new Command (() => ToolbarHeight = 50); }
+ }
+
+ GridLength _toolbarHeight;
+ public GridLength ToolbarHeight {
+ get { return _toolbarHeight; }
+ set {
+ _toolbarHeight = value;
+ OnPropertyChanged ("ToolbarHeight");
+ }
+ }
+
+ protected void OnPropertyChanged (string propertyName)
+ {
+ var handler = PropertyChanged;
+ if (handler != null)
+ handler (this, new PropertyChangedEventArgs (propertyName));
+ }
+
+ public event PropertyChangedEventHandler PropertyChanged;
+ }
+ }
+#endif
+}