Forum Xamarin.Forms

Xamarin forms Picker on android change Cancel text

Mister_GigaMister_Giga GEUniversity ✭✭

Xamarin.Forms on Android. Clicking picker opens dialog and the negative button has default text of "Cancel". How can I change it?

I looked in open source project of Xamarin and they set the positive button text like this

builder.SetNegativeButton(global::Android.Resource.String.Cancel, (s, a) => ...
This method is private so I cant override the class method.

Neither I can copy paste implementation of this class because its members are private to Xamarn dll-s...

Link to that picker implementation on Xamarin.Forms andoid:

Sign In or Register to comment.