With an UltraExplorerBar control, I'm trying to add a checkbox on the left side of each group header (see attached mockup). Is there a way to achieve this?
Hello Guy,
Thank you for contacting Infragistics. As it turns out, it's rather simple to use a CreationFilter to add the checkboxes. I've attached a sample project that shows you how to do so. I've also included comments in the code indicating where you could extend the CreationFilter to add more functionality.
Very interesting. What if Group 1 and Group 2 are mutually exclusive (only 1 can be checked at any single time) while the last one can be freely checked at any time?
I want to automatically uncheck any group(s) part of the set of mutually exclusive items (I stock a value in the Tag to indicate it).
I am handling the ElementClick on the form and successfully found the group(s) that needed to be unchecked but how can I access the checkbox to unselect it?
Hello,
If you want a round "chexkbox", then you would use an OptionButtonUIElement instead of a CheckBoxUIElement. To change the font of the caption, you wouldn't even have to modify the creation filter. Just change the ExplorerBarGroup.Settings.AppearancesLarge.HeaderAppearance.FontData property.
OptionButtonUIElement would be excellent except that I cannot have its CheckState toggled Checked/Unchecked. Do you have a sample somewhere?
forget it, I think I found something!
Is it possible to add an animated GIF to the group header?
I have read in a post from 2009 that the UltraPictureBox does not support it. Is this still the case?
Thank you for your response.
Yes, that is still the case. I would recommend posting a product idea at http://ideas.infragistics.com so you and other users can vote on the ideas that get posted.
Hello Dave, I have used the code provided by you for creating checkbox, after that I want the list of all the groups I have selected. I have search button and on clicking that I need to populate the details related to the selected groups. I'm stuck at getting the list of selected groups. Could you please help me in this.