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

Changing the size of image in ToolStripEx control.

Thread ID:

Created:

Updated:

Platform:

Replies:

117708 Dec 2,2014 10:18 AM UTC Dec 3,2014 09:19 AM UTC Windows Forms 1
loading
Tags: RibbonControlAdv
Ranjan
Asked On December 2, 2014 10:18 AM UTC


Hi,



      How to change the size of the Image in ToolStripEx control using RibbonControlAdv?






Regards,
Ranjan VijayKumar.


Senthil Kumaran Rajan [Syncfusion]
Replied On December 3, 2014 09:19 AM UTC

Hi Ranjan,

 

Thanks for using Syncfusion products,

 

The image size of the ToolStrip items can be changed by using ToolStripEx AutoSize and Image Scaling property as shown in the below code snippet. We have prepared a sample for your reference and it is attached below.

 

Code Snippet[C#]:

private void button1_Click(object sender, EventArgs e)

      {

          this.toolStripButton1.AutoSize = false;

          this.toolStripButton1.ImageScaling = ToolStripItemImageScaling.None;

          this.toolStripButton1.Size = new Size(35, 35);

      }

 

Please let us know if you need further assistance,

 

Regards,

R.Senthil kumaran


Attachment: ImageSize_7924741c.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

;