Changing the size of image in ToolStripEx control.


Hi,



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






Regards,
Ranjan VijayKumar.


1 Reply

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

Loader.
Up arrow icon