-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Change the text of Cancel/Done button of Picker #2449
Comments
You can change picker's cancel/done button text with custom renderer. Bindable properties: public static readonly BindableProperty DoneButtonTextProperty iOSOn iOS use DoneButtonProperty in Custom Renderer.
AndroidOn Android you can use both of the properties.
|
As part of this enhancement, could we also include the ability to set the text color? |
|
when add this line to xaml iOSSpecific:Picker.UpdateMode="WhenFinished" selected item not updated |
I tried doing the same but the UIBarButtonItem event handler is not firing when I click the button |
Thanks for this suggestion! As Xamarin.Forms is now in maintenance mode, this will not happen anymore for Xamarin.Forms. We're only adding bugfixes and stability fixes. If this is still important to you, make sure to check the .NET MAUI repo and see if it's already on the roadmap. If not, feel free to open a discussion to discuss a change first or open an issue with a detailed feature request. Thanks! |
Is there any way we can change the cancel button text of Picker? I know that you are supposed to use resx files for localization, but one of the languages I have to support is Kurdish(
ckb
) which is not very well supported by most operating systems. So I had to write custom localization logic, but I have trouble localizing some of the system specified strings.The text was updated successfully, but these errors were encountered: