Version

ColumnKey Property

Gets or sets the key of the column of the grid with which the editor should be associated.
Syntax
'Declaration
 
Public Property ColumnKey As String
public string ColumnKey {get; set;}
Remarks

Note: If the specified column does not exist in the band associated with the RowEditTemplate, or the template is not currently associated with a band, the proxy will be disabled, showing a message as its value at design-time.

Example
The following snippet demonstrates how to create a new UltraGridCellProxy instance and associate it with a column of the UltraGridRowEditTemplate

Imports Infragistics.Win.UltraWinGrid

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
	' Create a new instance of a proxy
	Dim proxy As New UltraGridCellProxy()

	' Set the ColumnKey property to the name of a column of a band that the 
	' associated RowEditTemplate is bound to
	proxy.ColumnKey = "Column 1"

	' Add the proxy to the RowEditTemplate's Controls collection
	Me.UltraGridRowEditTemplate1.Controls.Add(proxy)
End Sub
using Infragistics.Win.UltraWinGrid;

private void Form1_Load(object sender, EventArgs e)
{
    // Create a new instance of a proxy
    UltraGridCellProxy proxy = new UltraGridCellProxy();

    // Set the ColumnKey property to the name of a column of a band that the 
    // associated RowEditTemplate is bound to
    proxy.ColumnKey = "Column 1";

    // Add the proxy to the RowEditTemplate's Controls collection
    this.ultraGridRowEditTemplate1.Controls.Add(proxy);
}
Requirements

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

See Also