Пример #1
0
 private void HandleLongClick()
 {
     if (_longPressRecognizer.State == UIGestureRecognizerState.Began)
     {
         var command = ButtonLongPressedEffect.GetCommand(Element);
         command?.Execute(ButtonLongPressedEffect.GetCommandParameter(Element));
     }
 }
Пример #2
0
        private void Control_LongClick(object sender, Android.Views.View.LongClickEventArgs e)
        {
            var command = ButtonLongPressedEffect.GetCommand(Element);

            command?.Execute(ButtonLongPressedEffect.GetCommandParameter(Element));
        }