1 write to selectionMode
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListBox.cs (1)
1031
selectionMode
= value;
15 references to selectionMode
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ListBox.cs (15)
360
switch (
selectionMode
) {
844
return
selectionMode
!= SelectionMode.None;
866
SelectionMode current = (selectionModeChanging) ? cachedSelectionMode :
selectionMode
;
890
if (
selectionMode
== SelectionMode.None) {
894
if (
selectionMode
== SelectionMode.One && value != -1) {
1021
return
selectionMode
;
1029
if (
selectionMode
!= value) {
1040
cachedSelectionMode =
selectionMode
;
1669
Debug.Assert(
selectionMode
!= SelectionMode.None, "Guard against setting selection for None selection mode outside this code.");
1671
if (
selectionMode
== SelectionMode.One) {
1696
switch (
selectionMode
) {
1792
if (
selectionMode
!= SelectionMode.None) {
1800
if (selectedItems.Count > 0 &&
selectionMode
== SelectionMode.One) {
2133
if (
selectionMode
== SelectionMode.None)
4138
SelectionMode current = (owner.selectionModeChanging) ? owner.cachedSelectionMode : owner.
selectionMode
;