Вопрос

enter image description here

Is it possible to achieve not by subclassing a NumericUpDown?

Это было полезно?

Решение

Sadly, this is not possible. I tried to retrieve a real Vista / 7 textbox border for a custom control, but all methods I tried didn't work.

The only solution is a dummy textbox around a borderless numeric up down (I hope it's possible to hide the border of it).

Also see my question: Draw TextBox border as in Vista / 7

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top