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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPMenus: BarItem image alignment

Thread ID:





68089 Sep 7,2007 07:01 PM UTC Sep 11,2007 03:56 AM UTC WinForms 1
Tags: Tools
Matthew Holmes
Asked On September 7, 2007 07:01 PM UTC

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 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.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon