-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?

2
  • 3
    Have you tried anything? Commented Sep 15, 2015 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. Commented Sep 16, 2015 at 6:02

1 Answer 1

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?

Sign up to request clarification or add additional context in comments.

1 Comment

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.