This is a migrated thread and some comments may be shown as answers.

Need to resize up & down arrow size RadNumericUpDown

6 Answers 139 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Selva M
Top achievements
Rank 2
Selva M asked on 11 Oct 2012, 05:50 AM
Hi,
  I'm working in WPF application for touchscreen. In that we r using telerik:RadNumericUpDown, which requires to resize the up & down arrow to be resized to suit the touchscreen requirements.

Thank u
Selva

6 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 16 Oct 2012, 02:11 PM
Hello Selva,

This is not supported with the current implementation of the control. If we receive more clients' request we will consider adding such feature.

All the best,
Konstantina
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Selva M
Top achievements
Rank 2
answered on 17 Oct 2012, 03:11 PM
Thanks for the reply..
0
Juzailie
Top achievements
Rank 2
answered on 27 May 2014, 07:12 AM
hi, is this RadNumericUpDown IncreaseButtonContentTemplate, IncreaseButtonContentTemplate and DecreaseButtonContentTemplate still not editable ? because I tried to apply my own DataTemplate to it doesn't works...
0
Konstantina
Telerik team
answered on 28 May 2014, 12:07 PM
Hello Juzailie,

These properties are not used. Sorry for the inconvenience caused. 
In order to customize the content of the Increase/Decrease buttons you will need to customize the ControlTemplate that targets RepeatButton. In order to customize the ControlTemplate of the two buttons you will need to copy the ControlTemplate that targets telerik:RadNumericUpDown from the Telerik.Windows.Controls.Input.xaml file in the Themes.Implicit folder in the installation folder and then customize the two separate ControlTemplates.

Hope this helps.

Regards,
Konstantina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Gone2TheDogs
Top achievements
Rank 1
Veteran
answered on 15 May 2018, 06:02 PM

I'm curious to know if there has been an update to this control since the last post. We are implementing touch screen and the button sizes are too small. 

 

0
Martin Ivanov
Telerik team
answered on 18 May 2018, 12:20 PM
Hello Bob,

To achieve your requirement you will need to extract the template of RadNumericUpAndDown and modify the RepeatButtons in the template. Currently, this is the way to go with this customization. Basically, you can find the RepeatButton element with x:Name set to "increase" and "decrease" and set their Width/Height property. Or replace their style.

If you want the size of the buttons to be bigger by default you can use the Windows8Touch, Office2016Touch or the Material theme.

Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
NumericUpDown
Asked by
Selva M
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Selva M
Top achievements
Rank 2
Juzailie
Top achievements
Rank 2
Gone2TheDogs
Top achievements
Rank 1
Veteran
Martin Ivanov
Telerik team
Share this question
or