AcceptButtonText, CancelButtonText, HeaderLabelText

2 posts, 0 answers
  1. Klayton Fratoni
    Klayton Fratoni avatar
    5 posts
    Member since:
    May 2010

    Posted 01 Jun Link to this post

    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

  2. Yana
    Admin
    Yana avatar
    5001 posts

    Posted 01 Jun Link to this post

    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.
Back to Top