开发者

Is there a sample using DevExpress to have a TreeView as the drop-down of a combo edit?

开发者 https://www.devze.com 2023-01-30 15:56 出处:网络
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 soluti

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

0

精彩评论

暂无评论...
验证码 换一张
取 消