MobileForms Toolkit Documentation

GroupsCollection.OnRemove Method 

Performs additional custom processes when removing an Group from the collection.

protected override void OnRemove(
int index,
object value
);

Parameters

index
The zero-based index at which value can be found.
value
The value of the item to remove from index.

Remarks

OnRemove is invoked before the standard Remove behavior, whereas OnRemoveComplete is invoked after the standard Remove behavior.

For example, implementers can prevent removal of elements by always throwing an exception in OnRemove.

See Also

GroupsCollection Class | Resco.Controls.OutlookControls Namespace