Guys
Whenever you type in the XamMultiColumnComboEditor, the search text gets highlighted in the drop-down items. I want similar behavior in XamComboEditor too.
Is there any way to enable it.
Please help me out here.
Thanks
Hemanath
Hello hemanath,
Thank you for your response. I will continue to monitor this forum thread in the case that you have any other questions regarding this issue.
Please let me know if you have any other questions or concerns.
Sincerely,AndrewAssociate Developer
Thanks Andrew. Will check it out.
Hello Hemanath,
Thank you for your post.
Unfortunately, the highlighted items corresponding to the search text is a feature that is only available on the XamMultiColumnComboEditor at the moment. With some styling though, you can make the XamMultiColumnComboEditor look just like the XamComboEditor, and I would recommend that you do this instead. These styles can be for the ComboHeaderCellControl and the ComboCellControl, and can look like the following:
<Style TargetType="{x:Type ig:ComboHeaderCellControl}"> <Setter Property="Visibility" Value="Collapsed"/></Style>
<Style TargetType="{x:Type ig:ComboCellControl}"> <Setter Property="BorderBrush" Value="Transparent"/></Style>
The ComboHeaderCellControl represents the header-level of the XamMultiColumnComboEditor, and the ComboCellControl is the control that makes up each of the XamMultiColumnComboEditor cells. By hiding the headers and setting the borders on the cells to be transparent, you will essentially get the same look as the XamComboEditor. From here, you simply need to set the XamMultiColumnComboEditor.AutoGenerateColumns property to "False" and place the column that you wish to show in the XamMultiColumnComboEditor.Columns collection.
I have attached a sample project to demonstrate the above. I hope this helps you.
If you would like to see search text highlighting possibly included in a future version of the XamComboEditor, I would recommend suggesting a new product idea for it at http://ideas.infragistics.com. This product ideas site places you in direct communication with our product development teams who plan and prioritize upcoming features and products based on community and user feedback.
Please let me know if you have any other questions or concerns on this matter.