Last year I worked out the solution from your previous answer and example project. But it didn't work as I expected. Now I'm working on a user control and I need to revisit this. The attached image may be helpful. (This is continuing my other questions that started in the RadDock section and my project has attempted to use either a TreeView or a ListView. ListView wins and when the next update comes out I'll be able to implement the DragDrop features and complete this user control.)
The PageView (ViewMode: ExplorerBar) has two pages. I set its ViewElement.AutoSizeMode to FitToAvailableSize and ViewElement.ContentSizeMode to AutoSizeToBestFit. In the constructor (user control) I have this code concerning the PageView.
1. I commented out the four lines concerning the BackColorX properties. I understand that that code is supposed to prevent mouseover from changing the item color. But it makes the item color a gradient gray. I want the colors of the current theme to be unchanged. What am I missing?
2. I want the pages to always be expanded and selecting a page to have no effect. I haven't discovered how to do that yet.
Update: I found this in the documentation and it works for me.
3. Double-clicking a listview item is handled programmatically to move to the other ListView and then the ListViews resize to fit their contents. But until you move the scrollbar on the PageView or resize the ToolWindow, the page sizes do not change. I want them to adjust to fit their content again. How do I do that?
Update: I found ScrollToItem() in the documentation about customizing the ExplorerBar, Scroll section. So I added that to each ListView DoubleClick event and it works for me.
ary