Is there a sample using DevExpress to have a TreeView as the drop-down of a combo edit?
I need to place a DevExpress combo edi开发者_如何学Ct where the drop-down is a TreeView. DevExpress has a bunch of partial explinations of this, but no complete source. Anyone have a sample?
The solution is to use a PopupContainerEdit control. To do this you also create a PopupContainerControl, put a TreeView in the PopupContainerControl (set to fill size) and then have the PopupContainerEdit.Popup point to the PopupContainerControl.
Full source at DevExpress combo box with a TreeView dropdown
精彩评论