Change Text in Editable Mode

2 posts, 1 answers
  1. Ahmad
    Ahmad avatar
    27 posts
    Member since:
    May 2015

    Posted 07 May Link to this post

    Hi,
    I Have a ComboBox and I set IsEditable to True.
    the ComboBox have Following Items:
    Alex
    Bernard

    in loaded Event I set ComboBocx.Text to "A"
    it makes SelectedItem will be Alex
    but I don't want change SelectedItem.
    there is a solution for that?
  2. Answer
    Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    498 posts

    Posted 10 May Link to this post

    Hi Ahmad,

    You can consider using a RadAutoCompleteBox instead and create a HighlightBehavior which will always return -1 as an index to be highlighted, this way no item will be highlighted. 

    Regards,
    Stefan Nenchev
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top