Class CheckedListItem<T>
Represents an item for a checked item list.
public class CheckedListItem<T> : INotifyPropertyChanged
Type Parameters
T
The type of the list item.
- Inheritance
-
CheckedListItem<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
CheckedListItem()
Initializes a new instance of the CheckedListItem<T> class.
public CheckedListItem()
CheckedListItem(T, bool)
Initializes a new instance of the CheckedListItem<T> class.
public CheckedListItem(T item, bool isChecked = false)
Parameters
item
TThe item.
isChecked
boolA value indicating whether the item is checked.
Properties
IsChecked
Gets or sets a value indicating whether the item is checked.
public bool IsChecked { get; set; }
Property Value
Item
Gets or sets the item.
public T Item { get; set; }
Property Value
- T
Events
PropertyChanged
Notifies clients that a property value has changed.
public event PropertyChangedEventHandler PropertyChanged