We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Hexadecimal format

Is it possible to display number in hexadecimal format?


4 Replies

DA Damiano May 5, 2015 04:08 PM UTC

Sorry...I'm talking about updown control

MA Muthukumar A Syncfusion Team May 6, 2015 05:18 AM UTC

Hi Damano,

Thanks for your interest in Syncfusion Products.

Since UpDown is specifically implemented to display "Double" values , we can not force it to display HexaDecimal values. 

Please let us know in case of any other concerns.

Muthukumar A

DA Damiano May 6, 2015 10:04 AM UTC

I tried to use a sfMaskedEdit but I can only insert one character.
How can I set it to accept only hex input?

<syncfusion:SfMaskedEdit Grid.Column="1" HorizontalAlignment="Left" Margin="208,15.02,0,0" 
                                     Text="SfMaskedEdit" VerticalAlignment="Top" 
                                     MaskType="Regular" Mask="[0-9A-F]" Width="92"/>

VR Vijayalakshmi Roopkumar Syncfusion Team May 7, 2015 06:45 AM UTC

Hi Damano,

Thank you for your update,

We have modified the sample that tries to meet your requirement. You can achieve your requirement using this Mask 0[xX][0-9a-fA-F]+" with the MaskType Regex.

The same has been demonstrated using the following code snippet:


<syncfusion:SfMaskedEdit Grid.Column="1" HorizontalAlignment="Left" Margin="208,15.02,0,0" Text="SfMaskedEdit" VerticalAlignment="Top" MaskType="Regex" Mask="0[xX][0-9a-fA-F]+" Width="92"/>

Please download the sample from the below location:


And for more information about the Mask and MaskType, please refer our guideline about the SfMaskedEdit from the following link:

Link: http://help.syncfusion.com/ug/wpf/index.html#!Documents/masktype.htm

Please let us know if you have any other concerns,


Vijayalakshmi V.R.

Live Chat Icon For mobile
Up arrow icon