I was looking at http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/xamMultiCEE_Configuring_Item_Filtering.html#_Ref380247522
at the first example where FilterMode=FilterOnAllColumns.
How do I make the input box to AutoComplete - show the rest of the text and set the SelectedItem.
I get the expected behavior when I set FilterMode=FilterOnPrimaryColumnOnly. But it is only filters by one column.
Thanks,
Max
Apparently if I set the internal property AutoCompleteResolved = true everything works as expected.
Why is this property not public?
Hello Max,
Thank you for posting to our forum.
I followed the link you provided and created a sample for my testing.
You are right the AutoComplete works when FilterMode is “FilterOnPrimaryColumnOnly” on DisplayMemberPath column which we consider as a Primary Column.When FilterMode="FilterOnAllColumns" AutoComplete doesn’t work and I think it is an expected behavior because if it finds same text across multiple columns it will still show the value of DisplayMemberPath column(PrimaryColumn) only and at this point autocomplete will not have any use.
Also, I did try using internal property AutoCompleteResolved = true by reflection and found that when I have FilterMode="FilterOnAllColumns" and DisplayMemberPath="TestName" it did perform Autocomplete on DisplayMemberPath column only and when you lose the focus it shows the value of DisplayMemberPath column.
I have attached the sample application I used to test these behaviors.
Please let me know If you still want the AutoComplete behavior across multiple columns, I can discuss the matter with the development team and would update you.
XamMultiColumnCombo.zip
Thanks for your reply, Jain.
Divya Jain said:When FilterMode="FilterOnAllColumns" AutoComplete doesn’t work and I think it is an expected behavior because if it finds same text across multiple columns it will still show the value of DisplayMemberPath column(PrimaryColumn) only and at this point autocomplete will not have any use.
I think it depends on a use case. In my case I use other columns as a hint to help to identify the right item in the list. But I still want only DisplayMemberPath column(PrimaryColumn) to fill the inputbox and SelectedItem to be set to the first match. Going thru reflection to set AutoCompleteResolved = true is a hack.
Thanks again for quick turn around.
Thank you for the update.