-1

I am creating a derived class of TextBox for numeric data entry. I would like to add 2 buttons at the right side, like the X button in some TextBox controls to increment or decrement the value.

How can I do it?

kokokok
  • 1,030
  • 1
  • 9
  • 26
  • 3
    Have you tried anything? – Vlad Sep 15 '15 at 14:58
  • Of course. I am trying to create a derived class, a custom control with all these features. I can find information about WPF but I am looking for UWP and after hours googling, I have found nothing. – kokokok Sep 16 '15 at 06:02

1 Answers1

1

What you are looking for is a Numeric Updown. See this question for how to implement your own

Where is the WPF Numeric UpDown control?

Community
  • 1
  • 1
Seth Kitchen
  • 1,526
  • 19
  • 53
  • Thank you. I am using the "ControlTemplate" response. The first one, adding controls in the page is not a reusable solution. The code is for WPF but with some changes, it works fine for UWP. – kokokok Sep 16 '15 at 11:27