static void AddInputTransparentToElement(BindableObject obj) { if (obj is View view && TouchEffect.GetColor(view) == Color.Default && Commands.GetTap(view) == null && Commands.GetLongTap(view) == null) { view.InputTransparent = true; } }
private static bool AddInputTransparentToElement(BindableObject obj) { if (TouchEffect.GetColor(obj) != Color.Default || Commands.GetTap(obj) != null || Commands.GetLongTap(obj) != null) { return(false); } return(true); }