'Declaration Public Event AfterCellListCloseUp As CellEventHandler
public event CellEventHandler AfterCellListCloseUp
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 that had its dropdown list closed. You can use this reference to access any of the returned cell's properties or methods.
This event is generated when a cell's dropdown list has been closed, either programmatically, or by user interaction. A cell's dropdown list can be closed programmatically by setting the cell's DroppedDown property to False.
This event is only generated for a cell whose column's Style property is set to 4 (StyleDropDown), 5 (StyleDropDownList), 6 (StyleDropDownValidate), or 8 (StyleDropDownCalendar).
Set the column's ValueList property in order to populate the dropdown list.
The BeforeCellListDropDown event is generated when a cell's dropdown list is dropped down.
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Imports System.Diagnostics Private Sub UltraGrid1_AfterCellListCloseUp(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.CellEventArgs) Handles ultraGrid1.AfterCellListCloseUp If Not Nothing Is e.Cell.Column.ValueList Then Debug.WriteLine("AfterCellListCloseUp: Value list in column " & e.Cell.Column.Key & " has just closed up.") End If End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void ultraGrid1_AfterCellListCloseUp(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e) { if ( null != e.Cell.Column.ValueList ) { Debug.WriteLine( "AfterCellListCloseUp: Value list in column " + e.Cell.Column.Key + " has just closed up." ); } }
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