How to disable the visual style?

2 posts, 0 answers
  1. Ivan Zlatanov
    Ivan Zlatanov avatar
    20 posts
    Member since:
    Jul 2009

    Posted 25 Apr 2015 Link to this post

    In the template of this control, is a rectangle which represents the focused style of the element (Name=FocusVisual). Unlike other controls this cannot be disabled through style properties and the template must be overridden, which is unfortunate.

     Can you suggest what I can do, not involving overriding the template, in order to remove this focus style? At least, shouldn't the stroke of the rectangle be a binding on the border of the control?

    Thank you.

  2. Masha
    Masha avatar
    355 posts

    Posted 28 Apr 2015 Link to this post

    Hello Ivan,

    I'm afraid that the only way to achieve the desired approach is to modify the control template of RadNumericUpDown. At the moment focused state of RadNumericUpDown is designed to be always 1px and it is not template bound. We will consider your suggestion to add TemplateBinding for our control's focus state in order to make its customization easier.

    Let me know if you need any further help with template customization.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top