Hi DE team,
Here is the screenshot of my property grid: https://snag.gy/izPnf6.jpg
I want it to look like: https://snag.gy/XTSOQ2.jpg
Three requirements basically,1. I want the collapse/expand button to look like -/+
2. There should be a vertical border that connects the fields HandlInst and Algorithm. Currently the category "FIX Tags" breaks the row pattern
3. The selected values of child rows should show up in the parent row value. In this case, "FIX Tags" row should show values "2, 5, hehe"
Thank you for your patience.
To change the expand button, you can handle the CustomDrawTreeButton event. In this event handler, use the e.Cache.DrawImage to draw the desired image.
After that, handle the CustomDrawRowHeaderCell event to manually draw the header cell. To get the desired row values, you can use the GetCellValue method. Please review the Obtaining and Setting Cell Values help article for more information.
I have attached a simple project to illustrate this approach. Please try it and let me know if this solution meets your requirements.