[]
        
(Showing Draft Content)

C1.WPF.ListView.ListViewItem

ListViewItem Class

Model class to store settings of an item inside C1ListView.

Inheritance
ListViewItem
Namespace: C1.WPF.ListView
Assembly: C1.WPF.ListView.dll
Syntax
public class ListViewItem : INotifyPropertyChanged

Constructors

Name Description
ListViewItem()

Initialize a new instance of ListViewItem class.

ListViewItem(IDataCollection<object>, int)

Initialize a new instance of ListViewItem class.

Properties

Name Description
Content

Gets the content associated with this object.

DataCollection

Gets the collection to which the bound item belongs to.

DataIndex

Gets the index of the data inside the collection of items.

IsEnabled

Gets or sets the IsEnabled property.

IsSelected

Gets or sets the IsSelected property

Level

Gets or sets the nesting level inside a group. This is zero if no grouping is used.

Parent

Gets the parent group item.

State

Gets or sets the state of the item, which can be Preview or Full.

Methods

Name Description
OnPropertyChanged(PropertyChangedEventArgs)

Raises the custom PropertyChanged event.

OnPropertyChanged(string)

Raises the PropertyChanged event.

SetField<T>(ref T, T, string)

Compares two values of property and raises an PropertyChanged event if they are different.

ToString()

Events

Name Description
PropertyChanged

Occurs when a property value changes.