Method EnableContextMenuOnLongTap
EnableContextMenuOnLongTap(AbstractControl, bool)
Enables showing context menu on long tap for the specified control. This is useful for touch devices where right-click is not available. This method can be called multiple times for the same control.
public static void EnableContextMenuOnLongTap(AbstractControl control, bool enable = true)
Parameters
controlAbstractControlThe AbstractControl to enable context menu on long tap.
enablebooltrueto enable context menu on long tap; otherwise,false.