This is a migrated thread and some comments may be shown as answers.

AcceptButtonText, CancelButtonText, HeaderLabelText

1 Answer 41 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
Klayton Fratoni
Top achievements
Rank 1
Klayton Fratoni asked on 01 Jun 2020, 03:33 PM

Good morning people,

I was using the properties:

_listPickerB Bairro.SelectorSettings.AcceptButtonText = "OK";
_listPickerBairros.SelectorSettings.CancelButtonText  = "Back";
_listPickerB Bairro.SelectorSettings.HeaderLabelText = "Bairros";

 

However in the update these properties disappeared and I didn't find them again.

How can I now use these properties?

 

Thank you

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 01 Jun 2020, 04:16 PM

Hello Klayton,

With the official release of the picker controls (in R2 2020) we refactored their internal structure in a way that some valuable features to be shared among ListPicker, TemplatedPicker, DateTime Picker, etc.

Basically, you would need to modify setting these properties like this:

(_listPicker.SelectorSettings as PickerPopupSelectorSettings).AcceptButtonText = "OK";

Let me know if you have any additional questions or concerns related to ListPicker.

Regards,
Yana
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ListPicker
Asked by
Klayton Fratoni
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or