Hello I would like to do something like this with the ultra explorer bar
Group 1
Type 1 100
Type 2 200
Type 3 30
So I want an item in the group to have two columns(the first one aligned left, the second one aligned right), one for description and the other for total.
Is this possible?
Hi,
You can make the Group a ControlContainer and put whatever you like into the Group. http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=WinExplorerBar_Create_a_Control_Container_Group.html demonstrates setting the Style of the Group to Control Container.
I already knew that. But I was wondering if there was an easier way to do that. I thought I could do something like outlook: Inbox (200).
It would be nice if we could have besides Text a total or another column in the ultraexplorerbar.
Thanks.
Hello ohamd,
I wanted to know if you were able to solve your issue based on Matthew's suggestions or you still need help. Please let me know.
Look at the WinTree DrawFilter sample that does Custom Text Color. It splits the text into parts and colors each part of the text as desired. You can do the same and create a composite label. Keep in mind the rectangle for the text could not grow in size, to do that you'd need to implement a CreationFilter.
You could also just throw a grid into the group and set up the columns as you desire. Hide borders and headers and any other functionality you'd want disabled and it would achieve the same results. You could also use a WinTree in the group but there's nothing really built-in to the ExplorerBar for this behavior, we opted to make it open ended with the ControlContainer instead of specific scenarios.