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,
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.
Hi
Everything is working great so far.
One more thing I need to acheive is to have some of the checkbox with a different visual cue. Maybe replace the square with a round or a color of the checkbox or the font of the caption or ...
How can I acheive this?
Once you have the UIElement that represents the group header, you can call GetDescendant(typeof(CheckBoxUIElement)) and cast the result to a CheckBoxUIElement.
Please let me know if you have any other questions about this.
or simply say: where are the children of the group collection of controls hidden?
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?