Disable Xamarin Android Context Menu


I need information how to disable the Context Menu. (long tap/hold on the document, then a context menu appear with the options of Note,Signature,Ink,Test, Arrow, Line, Rectangle, Ellipse).

I have to avoid this menu from displaying.


To handle long press events by yourself and disable the built-in logic, you can subscribe to the LongPress event:

mToolManager.LongPress += mToolManager_LongPress;
void mToolManager_LongPress(object sender, ToolManager.OnLongPressEventArgs e)
e.Handled = true;