We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

XPMenus: BarItem image alignment

How do I tell a bar item to draw the image on the right of the text, rather than on the left? I can't find any properties of the BarItem itself. The BarItem is being placed on a toolbar, not in a menu. I know that in menus the images draw down the left bar, but on the tool bar, I want the text to be on the left and the image to be on the right. Is there anyway to do this?

1 Reply

RA Rajagopal Syncfusion Team September 11, 2007 03:56 AM UTC

Hi Matt,

Thanks for your interest in Syncfusion Products.

This is the default behavior that the images will be drawn on the left and the text on the right for the baritem placed on a menu/bar. The PaintStyle property of the baritem controls the way the baritem will be drawn when placed on a menu/bar, this property only allows you to specify ImageAndText style, which allows both image and text to be drawn but the alignment of them could not be changed. This is by design.

Regards,
Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon