18 references to LVIS_SELECTED
System.Windows.Forms (18)
winforms\Managed\System\WinForms\ListView.cs (11)
2697
if ((realState & NativeMethods.
LVIS_SELECTED
) == 0)
3385
return GetItemState(index, NativeMethods.LVIS_FOCUSED | NativeMethods.
LVIS_SELECTED
| NativeMethods.LVIS_CUT |
5917
int oldState = nmlv->uOldState & NativeMethods.
LVIS_SELECTED
;
5918
int newState = nmlv->uNewState & NativeMethods.
LVIS_SELECTED
;
6125
bool selectedChanged = (odStateChange.uNewState & NativeMethods.
LVIS_SELECTED
) != (odStateChange.uOldState & NativeMethods.
LVIS_SELECTED
);
6134
ListViewVirtualItemsSelectionRangeChangedEventArgs lvvisrce = new ListViewVirtualItemsSelectionRangeChangedEventArgs(odStateChange.iFrom, iTo, (odStateChange.uNewState & NativeMethods.
LVIS_SELECTED
) != 0);
7207
this.owner.SetItemState(itemIndex, NativeMethods.
LVIS_SELECTED
, NativeMethods.
LVIS_SELECTED
);
7235
this.owner.SetItemState(-1, 0, NativeMethods.
LVIS_SELECTED
);
7271
this.owner.SetItemState(itemIndex, 0, NativeMethods.
LVIS_SELECTED
);
winforms\Managed\System\WinForms\ListViewItem.cs (7)
746
return(listView.GetItemState(Index, NativeMethods.
LVIS_SELECTED
) != 0);
753
listView.SetItemState(Index, value ? NativeMethods.
LVIS_SELECTED
: 0, NativeMethods.
LVIS_SELECTED
);
1142
itemState |= NativeMethods.
LVIS_SELECTED
;
1143
stateMask |= NativeMethods.
LVIS_SELECTED
;
1178
lvItem.stateMask = NativeMethods.
LVIS_SELECTED
;
1198
StateSelected = (lvItem.state & NativeMethods.
LVIS_SELECTED
) != 0;