2 writes to btnDropDown
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
280
btnDropDown
= new DropDownButton();
1166
btnDropDown
= null;
18 references to btnDropDown
System.Windows.Forms (18)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (18)
273
if (
btnDropDown
== null) {
281
btnDropDown
.UseComboBoxTheme = true;
283
btnDropDown
.Image = bitmap;
284
btnDropDown
.BackColor = SystemColors.Control;
285
btnDropDown
.ForeColor = SystemColors.ControlText;
286
btnDropDown
.Click += new EventHandler(this.OnBtnClick);
287
btnDropDown
.GotFocus += new EventHandler(OnDropDownButtonGotFocus);
288
btnDropDown
.LostFocus += new EventHandler(this.OnChildLostFocus);
289
btnDropDown
.TabIndex = 2;
290
CommonEditorSetup(
btnDropDown
);
291
btnDropDown
.Size = DpiHelper.EnableDpiChangedHighDpiImprovements ? new Size(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight) : new Size(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
293
return
btnDropDown
;
1164
if (
btnDropDown
!= null) {
1165
btnDropDown
.Dispose();
5185
if (
btnDropDown
!= null) {
5187
btnDropDown
.Size = new Size(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight);
5190
btnDropDown
.Size = new Size(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
5199
btnDropDown
.Image = CreateResizedBitmap("Arrow.ico", DOWNARROW_ICONWIDTH, DOWNARROW_ICONHEIGHT);