I am using a DialogFragment, and while I have successfully set an image to close (i.e. dismiss) the dialog when pressed, I am having a hard time finding the way
DialogFragment
DialogFragment.getDialog().setCanceledOnTouchOutside(false);
It was mistyping. I had the same problem. This works fine for Java and Mono for android Mono will be:
this.getDialog().SetCanceledOnTouchOutside(false);