Gets the current state of the ListViewItem to draw.
| C# | Visual Basic |
public ListViewItemStates State { get; }
Public ReadOnly Property State As ListViewItemStates Get
Use this property to check whether the ListViewItem to draw is in a particular state.
This property provides only basic state information about the item.
You can use this property, for example, to determine whether an item is selected, checked, or focused.
If you need to know more, retrieve the item through the Item property and check its properties directly.