バージョン

FormatInfo プロパティ

値の書式化方法を決定するために使用する、カルチャ固有の情報を設定します。
シンタックス
'宣言
 
Public Property FormatInfo As IFormatProvider
public IFormatProvider FormatInfo {get; set;}

プロパティ値

CultureInfo クラスなどの FormatProvider インターフェイスを実装するオブジェクト。
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button96_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button96.Click

      Dim dateColumn As UltraGridColumn = Me.UltraGrid1.DisplayLayout.Bands(1).Columns("OrderDate")
      Dim currencyColumn As UltraGridColumn = Me.UltraGrid1.DisplayLayout.Bands(2).Columns("Unit Price")

      ' Set the Format and FormatInfo properties. You don't have to set both. You can set one
      ' or the other or both.
      currencyColumn.Format = "##,###,####.00"
      currencyColumn.FormatInfo = System.Globalization.CultureInfo.CreateSpecificCulture("fr")

      dateColumn.Format = "dd/M/yyyy"
      dateColumn.FormatInfo = System.Globalization.CultureInfo.CreateSpecificCulture("fr")

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button96_Click(object sender, System.EventArgs e)
{

	UltraGridColumn dateColumn = this.ultraGrid1.DisplayLayout.Bands[1].Columns["OrderDate"];
	UltraGridColumn currencyColumn = this.ultraGrid1.DisplayLayout.Bands[2].Columns["Unit Price"];

	// Set the Format and FormatInfo properties. You don't have to set both. You can set one
	// or the other or both.
	currencyColumn.Format = "##,###,####.00";
	currencyColumn.FormatInfo = System.Globalization.CultureInfo.CreateSpecificCulture( "fr" );

	dateColumn.Format = "dd/M/yyyy";
	dateColumn.FormatInfo = System.Globalization.CultureInfo.CreateSpecificCulture( "fr" );

}
参照