UltraExplorerBarGroups and UltraExplorerBarItems will use images from this list if the UltraExplorerBarGroup's or UltraExplorerBarItem’s resolved Image property is of type integer and the UltraExplorerBarGroup or UltraExplorerBarItem is using small images
Small UltraExplorerBarGroup and UltraExplorerBarItem images can be specified independently of an ImageList control at design-time, or by setting the System.Drawing.Image property of the Appearance object on the AppearancesSmall and AppearancesSmall objects.
The ImageListLarge property indicates the ImageList control containing the Large UltraExplorerBarGroup and UltraExplorerBarItem images.
The ImageSizeSmall property is used to specify the size of the small UltraExplorerBarGroup and UltraExplorerBarItem images.
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button8.Click If (Not Me.ultraExplorerBar1.ImageListSmall Is Nothing) Then ' Add some images to the ImageList that supplies the small images. Me.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Application) Me.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Asterisk) ' Add some images to the ImageList that supplies the large images. Me.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Application) Me.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Asterisk) End If ' Set the small and large image sizes. This will determine how much space the control sets ' aside for small and large images. Me.ultraExplorerBar1.ImageSizeSmall = New Size(22, 22) Me.ultraExplorerBar1.ImageSizeLarge = New Size(42, 43) ' Set the color that chould be interperted as the transparent color. Me.ultraExplorerBar1.ImageTransparentColor = Color.Magenta End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button8_Click(object sender, System.EventArgs e) { if (this.ultraExplorerBar1.ImageListSmall != null) { // Add some images to the ImageList that supplies the small images. this.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Application); this.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Asterisk); // Add some images to the ImageList that supplies the large images. this.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Application); this.ultraExplorerBar1.ImageListSmall.Images.Add(SystemIcons.Asterisk); } // Set the small and large image sizes. This will determine how much space the control sets // aside for small and large images. this.ultraExplorerBar1.ImageSizeSmall = new Size(22, 22); this.ultraExplorerBar1.ImageSizeLarge = new Size(42, 43); // Set the color that chould be interperted as the transparent color. this.ultraExplorerBar1.ImageTransparentColor = Color.Magenta; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2