MobileForms Toolkit Documentation

AdvancedList.RowAdding Event

Occurs when a new Row should be provided for AdvancedList's RowCollection.

public event RowAddingEventHandler RowAdding;

Event Data

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

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
Row Sets a row that will be added into AdvancedList's RowColection.
RowIndex Gets an index of a row that is about to be added.

Remarks

Once you call the LoadDataManually method, AdvancedList fires this event regularly for you to provide it a Row object filled with data. The arguments for this event is derived from CancelEventArgs. You have to set the Cancel property in the event handler to true to stop loading more data. If DelayLoad is set to true, the event stops firing as soon as the rows fill up AdvancedList's client area. However, as soon as the user scrolls down to see more rows, the event starts firing again for the user to provide additional Row objects to be added into the RowCollection.

See Also

AdvancedList Class | Resco.Controls.AdvancedList Namespace | LoadDataManually