I am using the PROPERTYGRID CS example as a base for my own "Property Grid" control. When displaying in Category view, I would like the row that contains the category to span both the name and value columns. Here is a screen shot:
As you can see, the "ZZZ *** NOT VISIBLE *** ZZZ" is truncated while there is empty space to the right because of the "value" column. I would like to see the text for this type of column to expand both columns. Can it be done, if so now?
Sam
The only solution I can think of off the top of my head is to use the IUIElementCreationFilter interface. If the AfterCreateChildElements method, handle the case for parent is NodeSelectableAreaUIElement, and when the node is one of these category nodes, find the UltraTreeNodeCellUIElement for each column, and adjust the Rect for each so that the Name cell spans across the whole node, and the other one has zero width.