Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: NumericUpDown with Percent format string

$
0
0
If I have the following:
<xctk:IntegerUpDown Increment="1" Minimum="1" Maximum="100" FormatString="P0" />

the value, as displayed in the control's textbox, appears multiplied by 100. If I have, says, Value=50, then "5,000 %" is displayed. And whenever I click on any of the spin buttons, the value is incremented/decremented by 100.

Perhaps I'm not using it correctly, but that's not what I expected. All I want is for the user to be able to select a value between 1 and 100, and, to make clear that it is a percentage, have a % suffix appended to the value shown.

That is applicable to version 2.4

Viewing all articles
Browse latest Browse all 4964

Latest Images

Trending Articles



Latest Images