'Declaration Public Event AfterCellUpdate As CellEventHandler
public event CellEventHandler AfterCellUpdate
The event handler receives an argument of type CellEventArgs containing data related to this event. The following CellEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cell | Returns a reference to the cell of interest. |
The cell argument returns a reference to an UltraGridCell object that can be used to set properties of, and invoke methods on, the cell whose value has been modified. You can use this reference to access any of the returned cell's properties or methods.
This event is generated when a cell's value has been changed. Note that the cell's new value is not necessarily committed to the data source at this time, since various factors such as the type of record locking employed by the data source, as well as the value of the UpdateMode property, can affect when the update occurs. The BeforeRowUpdate event is generated when the new value is to be committed to the data source.
The BeforeCellUpdate event, which is generated before this event, provides an opportunity to prevent the change from occurring.
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Imports System.Diagnostics Private Sub UltraGrid1_AfterCellUpdate(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.CellEventArgs) Handles ultraGrid1.AfterCellUpdate ' AfterCellUpdate gets fired after the cell's value has been changed in the UltraGrid. System.Diagnostics.Debug.WriteLine("New cell value = " & e.Cell.Value.ToString()) End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void ultraGrid1_AfterCellUpdate(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e) { // AfterCellUpdate gets fired after the cell's value has been changed in the UltraGrid. System.Diagnostics.Debug.WriteLine( "New cell value = " + e.Cell.Value.ToString( ) ); }
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