Frage

enter image description here

Is it possible to achieve not by subclassing a NumericUpDown?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top