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. Image for the cookie policy date

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



Hi,



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



Regards,
Ranjan VijayKumar.

1 Reply

SK Senthil Kumaran Rajan Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon