I am trying to use the new ControlContainerEditor to allow me to use my custom control as the control that gets dropped down when a tree node goes into edit mode. I have instantiated my editor and set it as the EditingControl on the ControlContainerEditor but I it never shows up, and the node never goes into edit mode. There is no sample code given for doing this with tree nodes, only grids. Can you please post a small sample of how to do this?
thanks
There is a sample that demonstrates how to do this, though it's contained within the Editors section of the samples. When you run the sample, the bottom-right GroupBox is the sample you're interested in, while in the solution the UltraTree Host folder contains the relevant logic.
-Matt
thanks for that info, but that is not the same as I was asking for. I dont have columns in my tree, just single nodes that I want to display a drop down containing my custom control as an editor when the user clicks the tree node. I dont want the node height to be the height of the editor, it should remain the same default size. Can you provide a snippet of how to get a UltraTreeNode to be the host of the dropdown with the custom editor. I cant even seem to get the node to go into edit mode despite setting CellClickAction, LabelEdit, and AllowCellEdit to the appropriate values.