diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 13:02:25 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 16:13:41 -0700 |
commit | 17fdde66d94155fc62a034fa6658995bef6fd6e5 (patch) | |
tree | b5e5073a2a7b15cdbe826faa5c763e270a505729 /Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla31967.xaml.cs | |
download | xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.gz xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.bz2 xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.zip |
Initial import
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.cs | 47 |
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 +} |