Пример #1
0
        protected override void OnRemoved(View view)
        {
            base.OnRemoved(view);

            aaPercentage.Focused   += HandleFocus;
            aaPercentage.Unfocused += HandleUnfocus;

            ounces.Focused   += HandleFocus;
            ounces.Unfocused += HandleUnfocus;

            boilTime.Focused   += HandleFocus;
            boilTime.Unfocused += HandleUnfocus;

            hopLabel.RemoveBinding(Label.TextProperty);
            aaPercentage.RemoveBinding(Entry.TextProperty);
            ounces.RemoveBinding(Entry.TextProperty);
            boilTime.RemoveBinding(Entry.TextProperty);
        }