Skip to content

ListBox.SelectedItemEventArgs Class

The event args used when the selected item changes.

C#
public class ListBox.SelectedItemEventArgs : EventArgs

Inheritance objectEventArgs

Creates a new instance of this type with the specified item.

C#
public SelectedItemEventArgs(object? item)

item object
The selected item from the list.

The item selected.

C#
public readonly object? Item