Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Is it safe to pass null to DisplayActionSheet? Question for Xamarin please.

$
0
0

I have been trying to use DisplayActionSheet to implement what should be a trivial piece of functionality. Inevitably there was a pretty significant bug on WinPhone (#21652) that cost some time, but even ignoring that, and ignoring that there seems to be no way to specify colors or fonts, DisplayActionSheet only becomes usable if I assume that null can be passed for the second and third arguments (cancel text and the strangely named destruct/destruction text). It seems to work, but the minimal documentation does not say that this is safe. Can anybody from Xamarin confirm that passing null for the second and third arguments is safe and will continue to be supported please?

If it is safe, can the documentation be updated as part of the upcoming release please?

Thanks,

John H.


Viewing all articles
Browse latest Browse all 91519

Trending Articles