Change Text in Editable Mode

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

    Posted 07 May 2017 Link to this post

    I Have a ComboBox and I set IsEditable to True.
    the ComboBox have Following Items:

    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
    Stefan Nenchev avatar
    607 posts

    Posted 10 May 2017 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. 

    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