Overview
The WPF Percent TextBox control provides a simple and intuitive interface to display and edit culture-specific Percent values. It supports culture-based formatting, number formatting, minimum and maximum value validation, watermark support, built-in themes, a range adorner, right-to-left support, positive and negative colors, and more.
Number formats
The numeric textbox can be formatted based on the number formats listed on MSDN. Through formatting, the number of percent decimal digits, the percent decimal separator, and the group separator can be provided.

Validation
Minimum and maximum value validation can be done within the given range. Users can choose when the validation needs to be carried out, either while entering the value or when the control loses its focus. The Percent TextBox control also allows users to do custom validation on their own.

Internationalization
The WPF Percent TextBox control comes with internationalization support to adapt to any culture through simple settings.

Watermark
Watermarks provide additional hints to users about the value they need to enter in the textbox.

Style and Customization

Built-in themes
The WPF Percent TextBox provides built-in themes like Office2016, Office2013, Metro, and Blend.

Fore color customization
Set different fore colors based on positive, negative, and zero color.

Range adorner
Increase or decrease a value just by scrolling the mouse or through extended scrolling. Display the entered value with progress notation.
Right-to-left (RTL)
The control supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.

Complete keyboard and mouse support
Increment or decrement values through keyboard down and up operations. Change the values through mouse wheel operations.

WPF Percent TextBox Code Example
Easily get started with the WPF Percent TextBox using a few simple lines of XAML, and C# code example as demonstrated below. Also explore our WPF Percent TextBox Example that shows you how to render and configure the PercentTextBox in WPF.
<syncfusion:PercentTextBox x:Name="percentTextBox" Width="100" Height="25" VerticalAlignment="Center" HorizontalAlignment="Center"/>using Syncfusion.Windows.Shared;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
//Creating an instance of PercentTextBox control
PercentTextBox percentTextBox = new PercentTextBox();
// Setting height and width to PercentTextBox
percentTextBox.Height = 25;
percentTextBox.Width = 100;
//Adding PercentTextBox as window content
this.Content = percentTextBox;
}
}