Hi Oleg,
This could be achieved by handling the DrawToolbarItem event of the BarItem. Using this, we could draw background, image and String etc.
[Code]
this.barItem1.DrawToolbarItem += new DrawToolbarItemEventHandler (barItem1_DrawToolbarItem);
void barItem1_DrawToolbarItem(object sender, DrawToolbarItemEventArgs drawItemInfo)
{
Syncfusion.Windows.Forms.Tools.XPMenus.BarItem bi = (Syncfusion.Windows.Forms.Tools.XPMenus.BarItem)sender;
drawItemInfo.Graphics.FillRectangle(Brushes.Red, drawItemInfo.Bounds);
drawItemInfo.Graphics.DrawImage(bi.ImageList.Images[bi.ImageIndex],new Rectangle( drawItemInfo.Bounds.Location , new Size( drawItemInfo.Bounds.Size.Width , drawItemInfo.Bounds.Size.Height - 15 ) ) );
drawItemInfo.Graphics.DrawString(bi.Text , new Font("verdana", 7), new SolidBrush(Color.Green ), new PointF(drawItemInfo.Bounds.X, drawItemInfo.Bounds.Y + 22));
}
[Sample]
http://websamples.syncfusion.com/samples/Tools.Windows/F61266/Main.htmPlease refer to the sample and let me know if it helps you.
Thank you for your interest in Syncfusion products.
Regards,
Murugan P.S