Version

UltraGridCellProxy Class

A class used as a proxy for the editor of an UltraGridCell when used on a RowEditTemplate.
Syntax
'Declaration
 
Public Class UltraGridCellProxy 
   Inherits Infragistics.Win.UltraEditorProxyBase
   Implements Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation 
public class UltraGridCellProxy : Infragistics.Win.UltraEditorProxyBase, Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation  
Remarks

A proxy functions by hosting the editor that the associated UltraGridCell would use within its bounds. This control can be thought of as taking the cell and moving it onto the template, but otherwise behaving as if the actual cell were being edited, including firing the events associated with editing or activating the cell.

Note: The proxy will only function when placed on a RowEditTemplate or within a child control of a RowEditTemplate.

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