バージョン

Editor プロパティ (UltraGridCell)

このプロパティは、セルの表示と編集に使用するエディターを設定するために使用します。このプロパティは、以前にいずれのエディターにも設定されていない場合、nullを返します。デフォルトでは、セルの表示と編集には、関連付けられている列の UltraGridColumn.Editor プロパティが使用されます。
シンタックス
'宣言
 
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 Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click
        Dim column As UltraGridColumn = Me.UltraGrid1.DisplayLayout.Bands(0).Columns(0)

        ' You can set the editor that cells associated with a column will use by setting
        ' the column's Editor property.
        column.Editor = New EditorWithText()

        ' You can also override that column setting for an individual cell by setting
        ' that cell's editor property.
        Me.UltraGrid1.Rows(0).Cells(column).Editor = New DateTimeEditor()
        Me.UltraGrid1.Rows(1).Cells(column).Editor = New CheckEditor()
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

		private void button1_Click(object sender, System.EventArgs e)
		{
			UltraGridColumn column = this.ultraGrid1.DisplayLayout.Bands[0].Columns[0];

			// You can set the editor that cells associated with a column will use by setting
			// the column's Editor property.
			column.Editor = new EditorWithText( );
			
			// You can also override that column setting for an individual cell by setting
			// that cell's editor property.
			this.ultraGrid1.Rows[0].Cells[column].Editor = new DateTimeEditor( );
			this.ultraGrid1.Rows[1].Cells[column].Editor = new CheckEditor( );
		}
参照