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

Thickness Increment e Decrement Buttons

Hi Dear Support,

In my application with touch mode I need to have the width for Increment e Decrement Buttons of the control increased for increased ease of use.

Thank you



3 Replies

GT Gokul Thanudhas Syncfusion Team March 13, 2023 05:10 PM UTC

You can achieve your requirement by accessing the button through VisualTree and changing its width. We have created a simple sample based on your requirement please refer to the sample for your reference.


CodeSnippets


RepeatButton button1 = updown.Template.FindName("upbutton", updown) as RepeatButton;

RepeatButton button2 = updown.Template.FindName("downbutton", updown) as RepeatButton;


button1.Width = 30;

button2.Width = 30;


Attachment: Updown_386f4f11.zip


EG Edoardo Gazzola March 13, 2023 06:31 PM UTC

it's just what I needed.

Thank you for the technical support



BA BagavathiPerumal Apranandham Syncfusion Team March 14, 2023 05:33 AM UTC

Hi Edoardo Gazzola,


We hope that your issue is resolved. Please let us know if you need any other assistance. We are happy to assist you.



Regards,
Bagavathi Perumal A


Loader.
Live Chat Icon For mobile
Up arrow icon