13 references to OneClick
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
256if (HotTracking && value != ItemActivation.OneClick) 1063Activation = ItemActivation.OneClick; 2825else if (_activation is ItemActivation.OneClick or ItemActivation.TwoClick) 5621case ItemActivation.OneClick:
System.Windows.Forms.Tests (9)
System\Windows\Forms\ListViewTests.cs (9)
195[InlineData(ItemActivation.OneClick, 1)] 230Activation = ItemActivation.OneClick 232Assert.Equal(ItemActivation.OneClick, listView.Activation); 236listView.Activation = ItemActivation.OneClick; 237Assert.Equal(ItemActivation.OneClick, listView.Activation); 270Assert.Equal(ItemActivation.OneClick, listView.Activation); 2254Assert.Equal(ItemActivation.OneClick, listView.Activation); 2261Assert.Equal(ItemActivation.OneClick, listView.Activation); 2268Assert.Equal(ItemActivation.OneClick, listView.Activation);