Michel Keijzers
Michel Keijzers

Reputation: 15357

Extended Toolkit's NumericUpDown in hex output

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

Answers (1)

jsanalytics
jsanalytics

Reputation: 13188

This worked:

    <xctk:IntegerUpDown ParsingNumberStyle="HexNumber" 
                        FormatString="X" 
                        VerticalAlignment="Center" 
                        HorizontalAlignment="Center" />

enter image description here

Upvotes: 5

Related Questions