protected override bool OnBackButtonPressed()
        {
            var model = (TicketDetailsPageModel)BindingContext;

            if (model.ShouldShowClock)
            {
                model.OnCloseTimePickerTapped.Execute(null);
                return(true);
            }
            else if (model.WorkOrderActionSheetIsVisible || model.EventActionSheetIsVisible ||
                     model.ReplyBoxIsVisible)
            {
                model.OnCloseReplyBubbleTapped.Execute(null);
                ReplyEditor.Unfocus();
                return(true);
            }
            else if (model.PopContentView != null)
            {
                model.OnHideDetailsTapped.Execute(null);
                return(true);
            }
            else
            {
                base.OnBackButtonPressed();
                return(false);
            }
        }
 void Handle_Clicked(object sender, System.EventArgs e)
 {
     ((TicketDetailsPageModel)BindingContext).OnReplyLabelTapped.Execute(null);
     ReplyBox.HeightRequest = pageHeight * 0.65;
     MyScrollView.VerticalScrollBarVisibility = ScrollBarVisibility.Always;
     WasFocused = true;
     ReplyEditor.Focus();
 }
 void Handle_Tapped(object sender, System.EventArgs e)
 {
     ReplyEditor.Focus();
 }