How do I add a line separator to a list of items in a UltraCombo or UltraComboEditor? Although a very simple implemention seems to be adding a text/line with dashes etc. and write code on selectionchanged event to not allow selection. But is there something more elegant? It should be similar in appearance to the MRU List.
Did you know that the ComboEditor has an MRUList property?
If that won't work for what you want, then the other option would be to use a DrawFilter and draw the line in code.
Thanks, Mike.
We had looked at MRUList property but that does not satisfy our requirement. The requirement is to group some elements and separate them by drawing a line in a comboeditor. We wanted to keep Draw Filter as the last option if there was none other available. Have implemented it now using Draw Filter, works fine. Thanks.
Here you go
public class UltraCmbEdLnSepDrawFilter : IUIElementDrawFilter
The following code needs to be included in your main form hosting the comboeditor
Thank you very much chandrasr!!