private void CustomStack_LongPressActivated(object sender, ClickedEventArg e) { if (e.type.Equals("click")) { label.Text = "click event"; } else { label.Text = "Long click event"; } }
public virtual void OnLongPressActivated(ClickedEventArg e) { LongPressActivated.Invoke(this, e); }