18 writes to Focused
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
826value.Focused = true; 5912lvhti.Item.Focused = true; 7054Items[0].Focused = true;
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
415this[index].Focused = false;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
606_listViewCannedMasks.Items[0].Focused = true;
System.Windows.Forms.Tests (13)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
751listViewGroup.Items[0].Focused = true; 802item1.Focused = true;
System\Windows\Forms\ListViewTests.cs (11)
4340listView.Items[0].Focused = focused; 4403listView.Items[0].Focused = focused; 4433listView.Items[0].Focused = true; 4515item1.Focused = focusItem; 4823listView.Items[0].Focused = focused; 5353listViewItem.Focused = true; 5481listView.Items[0].Focused = true; 5799listView.Items[0].Focused = true; 5815listView.Items[0].Focused = true; 5831listView.Items[0].Focused = true; 5847listView.Items[0].Focused = true;
31 references to Focused
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
4856if (firstSelectedItem.Focused && _selectedItem != firstSelectedItem) 6575if (item.Focused)
System.Windows.Forms.Tests (29)
System\Windows\Forms\ListViewItemTests.cs (22)
19Assert.False(item.Focused); 58Assert.False(item.Focused); 96Assert.False(item.Focused); 134Assert.False(item.Focused); 172Assert.False(item.Focused); 209Assert.False(item.Focused); 246Assert.False(item.Focused); 284Assert.False(item.Focused); 322Assert.False(item.Focused); 359Assert.False(item.Focused); 397Assert.False(item.Focused); 435Assert.False(item.Focused); 472Assert.False(item.Focused); 510Assert.False(item.Focused); 548Assert.False(item.Focused); 586Assert.False(item.Focused); 623Assert.False(item.Focused); 661Assert.False(item.Focused); 699Assert.False(item.Focused); 736Assert.False(item.Focused); 775Assert.False(item.Focused); 805Assert.False(item.Focused);
System\Windows\Forms\ListViewTests.cs (7)
1232Assert.Equal(expectedFocused, value?.Focused); 1238Assert.Equal(expectedFocused, value?.Focused); 1275Assert.Equal(expectedFocused, value?.Focused); 1280Assert.Equal(expectedFocused, value?.Focused); 1293Assert.True(value.Focused); 1298Assert.True(value.Focused); 1303Assert.True(value.Focused);