Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Combobox to allow typing and selection from drop down
posted

Hi Team,

I'm in need of having a combobox. The features of combobox are listed below

1. Combobox should allow user to type

2. It should have drop down list to select

3. It should not display toggle button.

Attaching screenshot for reference.

Default look: 

Having list: 

Parents
No Data
Reply
  • 1560
    Offline posted

    Hello,


    I have been looking into your requirements and created a small sample with XamComboEditor in order to demonstrate how the described functionalities could be achieved.


    Your first requirement to allow typing in the combo could be achieved by setting the XamComboEditor's IsEditable to True.

    Regarding your second requirement, you could bind the combo to data using its ItemSource property and set the DisplayMemberPath property to the required value.

    Your last requirement about not displaying the drop-down button could be achieved by setting the XamComboEditor's DropDownButtonDisplayMode to "Never".

    For the purposes of the example, I enabled the autocomplete mode and disabled the filtering of the items in the drop-down so all of them would be visible when the drop-down is opened.


    More about adding and configuring XamComboEditor could be found in this section of our documentation that you might consider useful.


    Additionally, a list of all properties and events of the XamComboEditor could be found here.

    I have attached a sample application below. Please test it on your side and let me know if I may be of any further assistance.

    Sincerely,
    Teodosia Hristodorova
    Associate Software Developer

    0675.XamComboEditor_sample.zip

Children