Deletes the selected item from the Items collection. If the selected item is not in the collection, this method simply does nothing.
If you manually delete an item from the list, be sure to call the Refresh method afterwards to update the drop-down suggestion window.
This example handles the Delete event to remove an item from the list when delete is pressed.
[C#]
private void autoCompleteManager1_Delete(
object sender, Skybound.AutoComplete.DeleteEventArgs e)
{
e.DeleteItem();
}
[Visual Basic]
Private Sub AutoCompleteManager1_Delete( _
sender As Object, e As Skybound.AutoComplete.DeleteEventArgs) _
Handles AutoCompleteManager1.Delete
' Delete the item from the Items collection
e.DeleteItem
End Sub
DeleteEventArgs Class | Skybound.AutoComplete Namespace