Provides data for the DeleteEventHandler method.
For a list of all members of this type, see DeleteEventArgs Members.
System.Object
System.EventArgs
Skybound.AutoComplete.AutoCompleteEventArgs
Skybound.AutoComplete.DeleteEventArgs
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The DeleteEventArgs type provides a string representation of the item that was selected when the delete key was pressed, and a method to automatically delete the item (when it exists in the Items collection).
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
Namespace: Skybound.AutoComplete
Assembly: Skybound.AutoComplete (in Skybound.AutoComplete.dll)
DeleteEventArgs Members | Skybound.AutoComplete Namespace