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

[Solved] Position of Inline buttons/Text box

1 Answer 92 Views
NumericBox for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cheri
Top achievements
Rank 1
Cheri asked on 06 Jan 2014, 04:44 PM

Hi,

Is it possible to change the position of the increase/decrease buttons?  I would like the text box to appear in the middle of the buttons.

Many Thanks,

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 08 Jan 2014, 01:56 PM
Hello Cheri,

Thank you for contacting us.

To achieve this you have to edit the template of the RadNumericBox. As the default template relies on predefined Telerik named resources(e.g. TelerikNumericBoxWatermarkForegroundBrush), you have to add additional code into your App.xaml file. For more information you can see this article from our online documentation: Resolving Telerik named resources

I have attached a runnable sample application that demonstrates how to change the RadNumericBox template. If you wish to apply additional styling, please uncomment and edit the relevant setters in the custom style.

I hope this helps. Please, do not hesitate to contact us if you have further questions.

Regards,
Rositsa Topchiyska
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
NumericBox for XAML
Asked by
Cheri
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or