'Declaration Public Property FormatProvider As IFormatProvider
public IFormatProvider FormatProvider {get; set;}
Imports Infragistics.Win Imports Infragistics.Win.UltraWinEditors Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim provider As IFormatProvider = System.Globalization.CultureInfo.CreateSpecificCulture("ja-JP") Me.UltraDateTimeEditor1.FormatProvider = provider Me.UltraNumericEditor1.FormatProvider = provider Me.UltraCurrencyEditor1.FormatProvider = provider End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinEditors; private void button1_Click(object sender, System.EventArgs e) { IFormatProvider provider = System.Globalization.CultureInfo.CreateSpecificCulture( "ja-JP" ); this.ultraDateTimeEditor1.FormatProvider = provider; this.ultraNumericEditor1.FormatProvider = provider; this.ultraCurrencyEditor1.FormatProvider = provider; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2