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.
Unfortunately, activation email could not send to your email. Please try again.

XPMenus: BarItem image alignment

Thread ID:





68089 Sep 7,2007 03:01 PM Sep 10,2007 11:56 PM Windows Forms 1
Tags: Tools
Matthew Holmes
Asked On September 7, 2007 03:01 PM

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?

Rajagopal [Syncfusion]
Replied On September 10, 2007 11:56 PM

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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.