1 write to dropDownRect
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ComboBox.cs (1)
5937
dropDownRect
= new Rectangle(innerBorder.Right + 1, innerBorder.Y, dropDownButtonWidth, innerBorder.Height+1);
16 references to dropDownRect
System.Windows.Forms (16)
winforms\Managed\System\WinForms\ComboBox.cs (16)
3759
using (WindowsRegion dr = new WindowsRegion(FlatComboBoxAdapter.
dropDownRect
)) {
5942
whiteFillRect =
dropDownRect
;
5944
dropDownRect
.X += WhiteFillRectWidth;
5945
dropDownRect
.Width -= WhiteFillRectWidth;
5954
dropDownRect
.X = clientRect.Width -
dropDownRect
.Right;
5978
DrawFlatComboDropDown(comboBox, g,
dropDownRect
);
5996
g.DrawRectangle(outerBorderPen, new Rectangle(outerBorder.X, outerBorder.Y,
dropDownRect
.Width + 1, outerBorder.Height));
5999
g.DrawRectangle(outerBorderPen, new Rectangle(
dropDownRect
.X, outerBorder.Y, outerBorder.Right -
dropDownRect
.X, outerBorder.Height));
6006
g.DrawRectangle(outerBorderPen, new Rectangle(outerBorder.X, outerBorder.Y,
dropDownRect
.Width + 1, outerBorder.Height));
6009
g.DrawRectangle(outerBorderPen, new Rectangle(
dropDownRect
.X, outerBorder.Y, outerBorder.Right -
dropDownRect
.X, outerBorder.Height));
6040
g.DrawRectangle(innerPen, new Rectangle(outerBorder.X, outerBorder.Y,
dropDownRect
.Width + 1, outerBorder.Height));
6043
g.DrawRectangle(innerPen, new Rectangle(
dropDownRect
.X, outerBorder.Y, outerBorder.Right -
dropDownRect
.X, outerBorder.Height));