Version

InitializeRow Event (UltraGridComboColumn)

Occurs when a row is initialized
Syntax
'Declaration
 
Public Event InitializeRow As InitializeRowEventHandler
public event InitializeRowEventHandler InitializeRow
Event Data

The event handler receives an argument of type InitializeRowEventArgs containing data related to this event. The following InitializeRowEventArgs properties provide information specific to this event.

PropertyDescription
ReInitialize True if the row has already been initialized (read-only)
Row The row being initialized (read-only)
Remarks

The row argument returns a reference to an UltraGridRow object that can be used to set properties of, and invoke methods on, the row being displayed. You can use this reference to access any of the returned row's properties or methods.

The reinitialize argument can be used to determine whether the row's data has been changed since it was last displayed. The value of reinitialize can also be controlled when invoking the control or row's Refresh method, which causes this event to be generated.

This event is generated once for each row being displayed or printed and provides an opportunity to perform actions on the row before it is rendered, such as populating an unbound cell or changing a cell's color based on its value.

The ViewStyle and ViewStyleBand properties of the control and DisplayLayout object are read-only in this event procedure.

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