2 writes to Delta
System.Windows.Forms (2)
System\Windows\Forms\Input\MouseEventArgs.cs (2)
21Delta = delta; 33Delta = 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); 16011e.Delta, 16031e.Delta, 16061e.Delta, 16081e.Delta, 16367MouseEventArgs meTmp = new(e.Button, 2, e.X, e.Y, e.Delta); 16497_cumulativeVerticalWheelDelta += e.Delta; 16502_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)
3139int delta = e.Delta > 0 ? -1 : 1; 3163_cumulativeVerticalWheelDelta += e.Delta;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
3331mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta); 3387mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta); 3431mea = 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)
13489Assert.Equal(0, e.Delta); 13525Assert.Equal(0, e.Delta); 13599Assert.Equal(0, e.Delta); 13643Assert.Equal(0, e.Delta); 13824Assert.Equal(0, e.Delta); 13860Assert.Equal(0, e.Delta); 13930Assert.Equal(0, e.Delta); 13974Assert.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);