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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hexadecimal format

Thread ID:





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

Is it possible to display number in hexadecimal format?


Replied On May 5, 2015 04:08 PM UTC

Sorry...I'm talking about updown control

Muthukumar A [Syncfusion]
Replied On 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

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

Vijayalakshmi Roopkumar [Syncfusion]
Replied On 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.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon