10 instantiations of ListViewGroupEventArgs
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
6375OnGroupCollapsedStateChanged(new ListViewGroupEventArgs(i)); 6458OnGroupTaskLinkClick(new ListViewGroupEventArgs(i)); 6935OnGroupCollapsedStateChanged(new ListViewGroupEventArgs(Groups.IndexOf(group)));
System.Windows.Forms.Tests (7)
System\Windows\Forms\GroupLinkClickEventArgsTests.cs (1)
15ListViewGroupEventArgs e = new(groupIndex);
System\Windows\Forms\ListViewGroupEventArgsTests.cs (1)
15ListViewGroupEventArgs args = new(groupIndex);
System\Windows\Forms\ListViewTests.cs (5)
5407listView.OnGroupCollapsedStateChanged(new ListViewGroupEventArgs(groupId)); 6038ListViewGroupEventArgs expectedEventArgs = new(1); 6047listView.TestAccessor().Dynamic.OnGroupTaskLinkClick(new ListViewGroupEventArgs(2)); 6054listView.TestAccessor().Dynamic.OnGroupTaskLinkClick(new ListViewGroupEventArgs(3)); 6061listView.TestAccessor().Dynamic.OnGroupTaskLinkClick(new ListViewGroupEventArgs(4));
16 references to ListViewGroupEventArgs
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.cs (6)
1979public event EventHandler<ListViewGroupEventArgs>? GroupTaskLinkClick 2104public event EventHandler<ListViewGroupEventArgs>? GroupCollapsedStateChanged 4410protected virtual void OnGroupCollapsedStateChanged(ListViewGroupEventArgs e) 4427((EventHandler<ListViewGroupEventArgs>?)Events[s_groupCollapsedStateChangedEvent])?.Invoke(this, e); 4441protected virtual void OnGroupTaskLinkClick(ListViewGroupEventArgs e) 4443((EventHandler<ListViewGroupEventArgs>?)Events[s_groupTaskLinkClickEvent])?.Invoke(this, e);
System\Windows\Forms\Controls\ListView\ListViewGroupEventArgs.cs (1)
13/// Initializes a new instances of the <see cref="ListViewGroupEventArgs"/> class.
System.Windows.Forms.Tests (7)
System\Windows\Forms\GroupLinkClickEventArgsTests.cs (1)
15ListViewGroupEventArgs e = new(groupIndex);
System\Windows\Forms\ListViewGroupEventArgsTests.cs (1)
15ListViewGroupEventArgs args = new(groupIndex);
System\Windows\Forms\ListViewTests.cs (5)
6025ListViewGroupEventArgs eventArgs = null; 6027EventHandler<ListViewGroupEventArgs> handler1 = (sender, e) => 6034EventHandler<ListViewGroupEventArgs> handler2 = (sender, e) => { callCount++; }; 6038ListViewGroupEventArgs expectedEventArgs = new(1); 6159public new void OnGroupCollapsedStateChanged(ListViewGroupEventArgs e) => base.OnGroupCollapsedStateChanged(e);
WinFormsControlsTest (2)
ListViewTest.cs (2)
175private void listView1_GroupCollapsedStateChanged(object sender, ListViewGroupEventArgs e) 200private void listView1_GroupTaskLinkClick(object sender, ListViewGroupEventArgs e)