using System; using System.Collections.Generic; using System.Text; namespace DevComponents.DotNetBar { public class ListBoxAdvItemCheckEventArgs : EventArgs { /// /// Indicates that CheckState change of the item should be canceled. /// public bool Cancel = false; /// /// Specifies the ListBoxItem that was changing. /// public readonly ListBoxItem Item; /// /// When data-bound provides the object which was used to generate an ListBoxItem. /// public readonly object Value; /// /// Initializes a new instance of the ListBoxAdvItemCheckEventArgs class. /// /// /// public ListBoxAdvItemCheckEventArgs(ListBoxItem item, object value) { Item = item; Value = value; } } }