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.
Unfortunately, activation email could not send to your email. Please try again.

Hexadecimal format

Thread ID:





119020 May 5,2015 12:06 PM May 7,2015 02:45 AM WPF 4
Tags: UpDown
Asked On May 5, 2015 12:06 PM

Is it possible to display number in hexadecimal format?


Replied On May 5, 2015 12:08 PM

Sorry...I'm talking about updown control

Muthukumar A [Syncfusion]
Replied On May 6, 2015 01:18 AM

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

Replied On May 6, 2015 06:04 AM

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"/>

Vijayalakshmi Roopkumar [Syncfusion]
Replied On May 7, 2015 02:45 AM

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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.