2 writes to Delta
System.Windows.Forms (2)
System\Windows\Forms\Input\MouseEventArgs.cs (2)
21
Delta
= delta;
33
Delta
= delta;
54 references to Delta
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (11)
5760
e.
Delta
);
5797
e.
Delta
);
5857
e.
Delta
);
5927
e.
Delta
);
16011
e.
Delta
,
16031
e.
Delta
,
16061
e.
Delta
,
16081
e.
Delta
,
16367
MouseEventArgs 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)
2402
OnMouseMove(new MouseEventArgs(e.Button, e.Clicks, newPoint.X, newPoint.Y, e.
Delta
));
2418
OnMouseDown(new MouseEventArgs(e.Button, e.Clicks, newPoint.X, newPoint.Y, e.
Delta
));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3139
int delta = e.
Delta
> 0 ? -1 : 1;
3163
_cumulativeVerticalWheelDelta += e.
Delta
;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
3331
mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.
Delta
);
3387
mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.
Delta
);
3431
mea = new MouseEventArgs(mea.Button, mea.Clicks, itemRelativePoint.X, itemRelativePoint.Y, mea.
Delta
);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
940
_cumulativeWheelData += e.
Delta
;
970
if (e.
Delta
!= Value)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
748
_wheelDelta += e.
Delta
;
911
return new MouseEventArgs(e.Button, e.Clicks, point.X, point.Y, e.
Delta
);
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
620
pos = Math.Max(pos - e.
Delta
, 0);
636
pos = 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)
8885
Assert.Equal(0, e.
Delta
);
8921
Assert.Equal(0, e.
Delta
);
8991
Assert.Equal(0, e.
Delta
);
9035
Assert.Equal(0, e.
Delta
);
System\Windows\Forms\ControlTests.Methods.cs (8)
13489
Assert.Equal(0, e.
Delta
);
13525
Assert.Equal(0, e.
Delta
);
13599
Assert.Equal(0, e.
Delta
);
13643
Assert.Equal(0, e.
Delta
);
13824
Assert.Equal(0, e.
Delta
);
13860
Assert.Equal(0, e.
Delta
);
13930
Assert.Equal(0, e.
Delta
);
13974
Assert.Equal(0, e.
Delta
);
System\Windows\Forms\DataGridViewCellMouseEventArgsTests.cs (2)
27
Assert.Equal(mouseE.
Delta
, e.
Delta
);
System\Windows\Forms\DataGridViewColumnDividerDoubleClickEventArgsTests.cs (2)
26
Assert.Equal(mouseE.
Delta
, e.
Delta
);
System\Windows\Forms\DataGridViewRowDividerDoubleClickEventArgsTests.cs (2)
26
Assert.Equal(mouseE.
Delta
, e.
Delta
);
System\Windows\Forms\HandledMouseEventArgsTests.cs (2)
22
Assert.Equal(delta, e.
Delta
);
38
Assert.Equal(delta, e.
Delta
);
System\Windows\Forms\MouseEventArgsTests.cs (1)
22
Assert.Equal(delta, e.
Delta
);
System\Windows\Forms\TreeNodeMouseClickEventArgsTests.cs (1)
28
Assert.Equal(0, e.
Delta
);
TextBoxBaseTests.cs (4)
7268
Assert.Equal(0, e.
Delta
);
7304
Assert.Equal(0, e.
Delta
);
7378
Assert.Equal(0, e.
Delta
);
7422
Assert.Equal(0, e.
Delta
);