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.

XPToolBar BarItem does not include PressedImageList

Thread ID:

Created:

Updated:

Platform:

Replies:

116460 May 28,2014 03:45 AM May 30,2014 01:05 AM Windows Forms 4
loading
Tags: XPToolbar
Shiri T
Asked On May 28, 2014 03:45 AM

Hi
I am using XPToolBar and need to display diffrent image when barItem is pressed and mouseOver, how can i achive it since barItem include only highlightedImageList and DisabledImageList?
 

Saravanan T [Syncfusion]
Replied On May 29, 2014 05:32 AM

Hi Shiri,

Thank you for using Syncfusion Product,

We would like to let you know that your requirement for displaying different image when barItem is pressed can be achieved by setting pressedImageIndex property in barItem.

Code Snippet[C#]:
this.barItem1.Image=((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)this.barItem1.PressedImageList.Images[3]);

We would like to let you know that your requirement for displaying different image when barItem is mouseOver can be achieved by setting HighlightedImageIndex property in barItem.

Code Snippet[C#]:
this.barItem1.HighlightedImage=((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)this.barItem1.HighlightImageList.Images[4]);

Please let us know if you have any concerns,

Thanks & Regards,
T.Saravanan

Attachment: sample_96bbe7e4.zip

Shiri T
Replied On May 29, 2014 07:14 AM

I am using version 6.4.0.15 this is the reason why I cant find the property PressedImageList under BarItem

Shiri T
Replied On May 29, 2014 07:15 AM

I am using version 6.4.0.15 this is the reason why I cant find the property PressedImageList under BarItem?

Saravanan T [Syncfusion]
Replied On May 30, 2014 01:05 AM

Hi Shiri,

Thank you for your update,

We would like to let you know that the feature was updated after version 8.4.0.10

Please let us know if you have any concerns,

Regards,
T.Saravanan

CONFIRMATION

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.

;