I've got a couple Qs.
I'm using the ExplorerBar and I'm having trouble with images. I want a separate image for each group, and for each item in those groups. I can't seem to make that happen. I've looked at the articles and other forum posts but nothing seems to work. I created an image list and assigned each group and each item to an image, but still nothing. I've done it for both Large and Small appearances.
Any ideas?
Also, I'd like to use the ribbon control but it's not in my control list. Does it not come with winforms?
Hello Sean,
Thank you for posting. I have attached a simple sample application to demonstrates adding images to the ExplorerBar header and to the items.
In order to add image to the item you could use this code:
aGroup.Items[0].Settings.Enabled = DefaultableBoolean.False; aGroup.Items[0].Settings.AppearancesSmall.Appearance.Image = myImage;
To add an images to the group header you could use this code:
foreach (UltraExplorerBarGroup group in ultraExplorerBar1.Groups) { group.Settings.AppearancesSmall.HeaderAppearance.Image = myImage; }
In the sample I have also demonstrated how can you change the image of the expansion indicator, if you are interested .
Please let me know if you need further assistance.
Sincerely,Divya JainAssociate Software Developer
please find the attached sample.
ExplorerBarGroupImage.zip
You can create the ribbon using UltraToolbarmanager control from the control .toolBox.For more information refer to this online help document.