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

Displaying images for ToolStripDropDown item when we click the menu button of the RibbonControlAdv.

Thread ID:

Created:

Updated:

Platform:

Replies:

117703 Dec 2,2014 02:44 AM Dec 3,2014 04:06 AM Windows Forms 1
loading
Tags: RibbonControlAdv
Ranjan
Asked On December 2, 2014 02:44 AM



Hi,



         How to display images for ToolStripDropDown item when we click the menu button of the RibbonControlAdv?



Regards,
Ranjan VijayKumar.

Senthil Kumaran Rajan [Syncfusion]
Replied On December 3, 2014 04:06 AM

Hi Ranjan,

 

Thanks for using Syncfusion products,

 

The images can be added to ToolStripDropDown items by using its image property as shown in the below code snippets. We have also prepared a sample for your reference and it is attached below. If we have misunderstood your query can you please provide some additional details about your requirement. It will be helpful for us to analyze and provide you a prompt solution.

 

Code Snippet[C#]:

  private void toolStripDropDownButton1_Click(object sender, EventArgs e)

        {

            this.toolStripMenuItem1.Image = global::ToolStripDropDown.Properties.Resources.Hyperlink;

            this.toolStripMenuItem2.Image = global::ToolStripDropDown.Properties.Resources.Page;  

        }

 

 

Please let us know if you need further assistance,

 

Regards,

R.Senthil kumaran


Attachment: ToolStripDropDown_93acc309.zip

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.

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

;