3 writes to _dropDownRect
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
36
_dropDownRect
= new Rectangle(_innerBorder.Right + 1, _innerBorder.Y, dropDownButtonWidth, _innerBorder.Height + 1);
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
34
_dropDownRect
= Rectangle.Empty;
50
_dropDownRect
= _buttonBounds;
14 references to _dropDownRect
System.Windows.Forms (14)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3967
using RegionScope dropDownRegion = new(FlatComboBoxAdapter.
_dropDownRect
);
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (12)
41
_whiteFillRect =
_dropDownRect
;
43
_dropDownRect
.X += WhiteFillRectWidth;
44
_dropDownRect
.Width -= WhiteFillRectWidth;
53
_dropDownRect
.X = _clientRect.Width -
_dropDownRect
.Right;
78
DrawFlatComboDropDown(comboBox, g,
_dropDownRect
);
97
new Rectangle(_outerBorder.X, _outerBorder.Y,
_dropDownRect
.Width + 1, _outerBorder.Height));
103
new Rectangle(
_dropDownRect
.X, _outerBorder.Y, _outerBorder.Right -
_dropDownRect
.X, _outerBorder.Height));
125
new Rectangle(_outerBorder.X, _outerBorder.Y,
_dropDownRect
.Width + 1, _outerBorder.Height));
131
new Rectangle(
_dropDownRect
.X, _outerBorder.Y, _outerBorder.Right -
_dropDownRect
.X, _outerBorder.Height));
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (1)
585
|| FlatComboBoxAdapter.
_dropDownRect
.Contains(clientPoint);