Reputation: 15357
I am using the Extended Toolkit for WPF.
The NumericUpDown control is capable of inputting hex values, but I cannot see a method/property for showing values in hex format.
There is a FormatString, but this contains thinks like currency, percentage, not hex format.
The code in WPF I have now is:
<xctk:IntegerUpDown Value="{Binding Value}"
ParsingNumberStyle="HexNumber" FormatString="%X" Margin="4" />
Upvotes: 1
Views: 1699
Reputation: 13188
This worked:
<xctk:IntegerUpDown ParsingNumberStyle="HexNumber"
FormatString="X"
VerticalAlignment="Center"
HorizontalAlignment="Center" />
Upvotes: 5