' 画像を保持するために新しいビットマップ オブジェクトを作成します
Dim img As New System.Drawing.Bitmap("C:\sampleImage.bmp")
' 画像を image プロパティに割り当てます
ultraExplorerBar1.Groups(0).Items(0).Settings.AppearancesSmall.Appearance.Image = img
このトピックはランタイムにグループ内の項目に画像を追加する方法を示します。
Visual Basic の場合:
' 画像を保持するために新しいビットマップ オブジェクトを作成します
Dim img As New System.Drawing.Bitmap("C:\sampleImage.bmp")
' 画像を image プロパティに割り当てます
ultraExplorerBar1.Groups(0).Items(0).Settings.AppearancesSmall.Appearance.Image = img
C# の場合:
// 画像を保持するために新しいビットマップ オブジェクトを作成します
System.Drawing.Bitmap img = new System.Drawing.Bitmap("C:\\sampleImage.bmp");
// 画像を image プロパティに割り当てます
ultraExplorerBar1.Groups[0].Items[0].Settings.AppearancesSmall.Appearance.Image = img;