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

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

Thread ID:

Created:

Updated:

Platform:

Replies:

117703 Dec 2,2014 07:44 AM UTC Dec 3,2014 09:06 AM UTC WinForms 1
loading
Tags: RibbonControlAdv
Ranjan
Asked On December 2, 2014 07:44 AM UTC



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 09:06 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;