Need to resize up & down arrow size RadNumericUpDown

7 posts, 0 answers
  1. Selva M
    Selva M avatar
    26 posts
    Member since:
    Mar 2010

    Posted 11 Oct 2012 Link to this post

    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
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 16 Oct 2012 Link to this post

    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.

  3. Selva M
    Selva M avatar
    26 posts
    Member since:
    Mar 2010

    Posted 17 Oct 2012 Link to this post

    Thanks for the reply..
  4. Juzailie
    Juzailie avatar
    20 posts
    Member since:
    Apr 2013

    Posted 27 May 2014 Link to this post

    hi, is this RadNumericUpDown IncreaseButtonContentTemplate, IncreaseButtonContentTemplate and DecreaseButtonContentTemplate still not editable ? because I tried to apply my own DataTemplate to it doesn't works...
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 28 May 2014 Link to this post

    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.
     
  6. Gone2TheDogs
    Gone2TheDogs avatar
    59 posts
    Member since:
    May 2016

    Posted 15 May 2018 Link to this post

    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. 

     

  7. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2164 posts

    Posted 18 May 2018 Link to this post

    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.
Back to Top