C1.LiveLinq.LiveViews Namespace > ViewRowCollection Class : ViewRowAdding Event |
'Declaration
Public Event ViewRowAdding As System.EventHandler(Of ViewRowAddingEventArgs)
public event System.EventHandler<ViewRowAddingEventArgs> ViewRowAdding
The event handler receives an argument of type ViewRowAddingEventArgs containing data related to this event. The following ViewRowAddingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Row | Gets the new view row that has just been added to ViewRowCollection. |
This event occurs only if the new row is created directly in the view, as a result of a view update operation, that is, with CreateRow or via data binding. It does not occur when new rows appear in the view as a result of view maintenance on changes made to the view's source data collections.
This event occurs immediately on creating the new row, before the method creating it returns, before the row enters edit mode (see ViewRowState about edit mode).
Target Platforms: 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