2 writes to Delta
System.Windows.Forms (2)
System\Windows\Forms\Input\MouseEventArgs.cs (2)
23Delta = delta; 35Delta = delta;
54 references to Delta
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (11)
5760e.Delta); 5797e.Delta); 5857e.Delta); 5927e.Delta); 15992e.Delta, 16012e.Delta, 16042e.Delta, 16062e.Delta, 16348MouseEventArgs meTmp = new(e.Button, 2, e.X, e.Y, e.Delta); 16478_cumulativeVerticalWheelDelta += e.Delta; 16483_cumulativeHorizontalWheelDelta += e.Delta;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellMouseEventArgs.cs (1)
14: base(e?.Button ?? MouseButtons.None, e?.Clicks ?? 0, localX, localY, e?.Delta ?? 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnDividerDoubleClickEventArgs.cs (1)
9: base(e?.Button ?? MouseButtons.None, e?.Clicks ?? 0, e?.X ?? 0, e?.Y ?? 0, e?.Delta ?? 0, e?.Handled ?? false)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowDividerDoubleClickEventArgs.cs (1)
9: base((e.OrThrowIfNull()).Button, e.Clicks, e.X, e.Y, e.Delta, e.Handled)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
2402OnMouseMove(new MouseEventArgs(e.Button, e.Clicks, newPoint.X, newPoint.Y, e.Delta)); 2418OnMouseDown(new MouseEventArgs(e.Button, e.Clicks, newPoint.X, newPoint.Y, e.Delta));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3144int delta = e.Delta > 0 ? -1 : 1; 3168_cumulativeVerticalWheelDelta += e.Delta;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
3333mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta); 3389mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta); 3433mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
940_cumulativeWheelData += e.Delta; 970if (e.Delta != Value)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
748_wheelDelta += e.Delta; 911return new MouseEventArgs(e.Button, e.Clicks, point.X, point.Y, e.Delta);
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
620pos = Math.Max(pos - e.Delta, 0); 636pos = Math.Max(pos - e.Delta, 0);
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
537_wheelDelta += e.Delta;
System.Windows.Forms.Tests (26)
System\Windows\Forms\ButtonBaseTests.cs (4)
8885Assert.Equal(0, e.Delta); 8921Assert.Equal(0, e.Delta); 8991Assert.Equal(0, e.Delta); 9035Assert.Equal(0, e.Delta);
System\Windows\Forms\ControlTests.Methods.cs (8)
13480Assert.Equal(0, e.Delta); 13516Assert.Equal(0, e.Delta); 13590Assert.Equal(0, e.Delta); 13634Assert.Equal(0, e.Delta); 13815Assert.Equal(0, e.Delta); 13851Assert.Equal(0, e.Delta); 13921Assert.Equal(0, e.Delta); 13965Assert.Equal(0, e.Delta);
System\Windows\Forms\DataGridViewCellMouseEventArgsTests.cs (2)
27Assert.Equal(mouseE.Delta, e.Delta);
System\Windows\Forms\DataGridViewColumnDividerDoubleClickEventArgsTests.cs (2)
26Assert.Equal(mouseE.Delta, e.Delta);
System\Windows\Forms\DataGridViewRowDividerDoubleClickEventArgsTests.cs (2)
26Assert.Equal(mouseE.Delta, e.Delta);
System\Windows\Forms\HandledMouseEventArgsTests.cs (2)
22Assert.Equal(delta, e.Delta); 38Assert.Equal(delta, e.Delta);
System\Windows\Forms\MouseEventArgsTests.cs (1)
22Assert.Equal(delta, e.Delta);
System\Windows\Forms\TreeNodeMouseClickEventArgsTests.cs (1)
28Assert.Equal(0, e.Delta);
TextBoxBaseTests.cs (4)
7268Assert.Equal(0, e.Delta); 7304Assert.Equal(0, e.Delta); 7378Assert.Equal(0, e.Delta); 7422Assert.Equal(0, e.Delta);