バージョン

Editor プロパティ (UltraGridColumn)

この列が編集およびセルの表示で使用するエディターを設定します。デフォルトまたは null が設定されている場合は、EditorControlプロパティのエディターが返されます。
シンタックス
'宣言
 
Public Property Editor As Infragistics.Win.EmbeddableEditorBase
public Infragistics.Win.EmbeddableEditorBase Editor {get; set;}
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button95_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button95.Click

      ' Create an embeddable editor and assign it to OrderDate and ShipDate columns. The UltraGrid
      ' by default uses DateTimeEditor for editing and rendering date cells. You can change this
      ' by setting the Editor property to a different editor.
      Dim textEditor As EditorWithText = New EditorWithText()
      Me.UltraGrid1.DisplayLayout.Bands(1).Columns("OrderDate").Editor = textEditor
      Me.UltraGrid1.DisplayLayout.Bands(1).Columns("ShippedDate").Editor = textEditor

      ' You can also do the same by setting the EditorControl property. UltraCurrencyEditor1 member
      ' variable is UltraCurrencyEditor control put on the form through the designer.
      Me.UltraGrid1.DisplayLayout.Bands(2).Columns("Unit Price").EditorControl = Me.UltraCurrencyEditor1

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

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

	// Create an embeddable editor and assign it to OrderDate and ShipDate columns. The UltraGrid
	// by default uses DateTimeEditor for editing and rendering date cells. You can change this
	// by setting the Editor property to a different editor.
	EditorWithText textEditor = new EditorWithText( );
	this.ultraGrid1.DisplayLayout.Bands[1].Columns["OrderDate"].Editor = textEditor;
	this.ultraGrid1.DisplayLayout.Bands[1].Columns["ShippedDate"].Editor = textEditor;

	// You can also do the same by setting the EditorControl property. UltraCurrencyEditor1 member
	// variable is UltraCurrencyEditor control put on the form through the designer.
	this.ultraGrid1.DisplayLayout.Bands[2].Columns["Unit Price"].EditorControl = this.ultraCurrencyEditor1;

}
参照