namespace Terminal.Gui; /// for events. public class ListViewItemEventArgs : EventArgs { /// Initializes a new instance of /// The index of the item. /// The item public ListViewItemEventArgs (int item, object value) { Item = item; Value = value; } /// The index of the item. public int Item { get; } /// The item. public object Value { get; } } /// used by the event. public class ListViewRowEventArgs : EventArgs { /// Initializes with the current row. /// public ListViewRowEventArgs (int row) { Row = row; } /// The current row being rendered. public int Row { get; } /// The used by current row or null to maintain the current attribute. public Attribute? RowAttribute { get; set; } }