Just want to make sure I understand...
Is it true that the ImageSizeSmall and ImageSizeLarge settings control both the image size as displayed in the ExplorerBarGroups and ExplorerBarItems?
For our groups, I'm using ImageSizeLarge=32x32 and ImageSizeSmall=16x16. I'd like to be able to display items using 24x24 images without changing the image size for the groups. Is this possible?
Thanks,
Jim
Thanks Matteo,
This will work perfectly. I really appreciate all your help on this.
Regards,
Hello Jim,
Attached is a small program where you can change at run time the size of the images, you can set the size at the values you want, even "new Size(18, 27)", if you so desire.
Please let me know if you have more questions.
Sincerely,MatteoDeveloper Support EngineerInfragisticswww.infragistics.com/support
Hello Matteo,
Not 100%. I think I didn't explain fully what I was attempting.
The ExplorerBarGroups in our application use both the large (32x32) and small (16x16) image sizes. We've got the ExplorerBar Style set as OutlookNavigationPane. The large image when displayed normally and the small image is displayed when the user shows less buttons.
The sizes of the group images are static and won't change.
The user now has the ability to change the font of the items within the group, from size 8 through 20. Some examples are:
8pts (default)
12pts
20pts
What I wanted was to be able to set the size of the icon in the items based on the size of the font:
As you can tell, in the examples I have only 16 x 16 and 32 x 32 size images. I don't believe there's a way to change the icon size to 24 x 24 without affecting the icons in the groups.
Unless I'm missing something :>)
Have you been able to set the size for the images in the way you need?
For the Group set the image in this way:
Right click on the UltraExplorerBar1 -> UltraExplorerBar designer -> Group -> Settings -> AppearanceLarge ->Header Appearance -> Image (choose an image)
For the Item set the image in this way:
Expand the Group node then select the Item -> Settings ->AppearancesSmall -> Appearance -> Image (choose an image)
Then if you Change the value of ImageSizeSmall in the Properties dialog window in Visual Studio you will see, already at design time, that only the item's image is changing independent from the Group
Sincerely,
Matteo
Support Developer Engineer