Culture Settings in Windows Forms Percent TextBox

28 Apr 20211 minute to read

Users can set the culture of the percent text box control using the Culture, CurrentCultureRefresh, SpecialCultureValue, and UseUserOverride properties.

this.percentTextBox1.Culture = new System.Globalization.CultureInfo("ar-JO");
this.percentTextBox1.CurrentCultureRefresh = true;
this.percentTextBox1.SpecialCultureValue = Syncfusion.Windows.Forms.Tools.SpecialCultureValues.None;
this.percentTextBox1.UseUserOverride = true;
Me.percentTextBox1.Culture = New System.Globalization.CultureInfo("ar-JO")
Me.percentTextBox1.CurrentCultureRefresh = True
Me.percentTextBox1.SpecialCultureValue = Syncfusion.Windows.Forms.Tools.SpecialCultureValues.None
Me.percentTextBox1.UseUserOverride = True

Percent text box culture support

NOTE

 The RefreshCulture method can be used to refresh and reapply the culture specific settings.

A sample which demonstrates the Culture Settings of the PercentTextBox control is available in the below sample installation path.

…\My Documents\Syncfusion\EssentialStudio\Version Number\Windows\Tools.Windows\Samples\Advanced Editor Functions\ActionGroupingDemo