2 writes to dropDown
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (2)
87
dropDown
= value;
373
dropDown
= null;
49 references to dropDown
System.Windows.Forms (49)
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (49)
64
if (
dropDown
== null) {
68
dropDown
.SetAutoGeneratedInternal(true);
72
dropDown
.ShowItemToolTips = ParentInternal.ShowItemToolTips;
75
return
dropDown
;
78
if (
dropDown
!= value) {
80
if (
dropDown
!= null) {
81
dropDown
.Opened -= new EventHandler(DropDown_Opened);
82
dropDown
.Closed -= new ToolStripDropDownClosedEventHandler(DropDown_Closed);
83
dropDown
.ItemClicked -= new ToolStripItemClickedEventHandler(DropDown_ItemClicked);
84
dropDown
.UnassignDropDownItem();
88
if (
dropDown
!= null) {
89
dropDown
.Opened += new EventHandler(DropDown_Opened);
90
dropDown
.Closed += new ToolStripDropDownClosedEventHandler(DropDown_Closed);
91
dropDown
.ItemClicked += new ToolStripItemClickedEventHandler(DropDown_ItemClicked);
92
dropDown
.AssignToDropDownItem();
266
return (
dropDown
!= null) &&
dropDown
.HasVisibleItems;
273
get { return
dropDown
!= null; }
281
if (
dropDown
!= null) {
365
if (this.
dropDown
!= null) {
366
dropDown
.Opened -= new EventHandler(DropDown_Opened);
367
dropDown
.Closed -= new ToolStripDropDownClosedEventHandler(DropDown_Closed);
368
dropDown
.ItemClicked -= new ToolStripItemClickedEventHandler(DropDown_ItemClicked);
370
if (disposing &&
dropDown
.IsAutoGenerated) {
372
dropDown
.Dispose();
418
if (this.
dropDown
!= null && this.
dropDown
.Visible) {
429
if (
dropDown
!= null) {
430
dropDown
.OnOwnerItemFontChanged(EventArgs.Empty);
439
if (this.
dropDown
!= null && this.
dropDown
.Visible)
441
this.
dropDown
.Bounds = GetDropDownBounds(DropDownDirection);
666
ToolStripDropDownMenu menu = this.
dropDown
as ToolStripDropDownMenu;
677
if (this.
dropDown
== null || (!this.
dropDown
.Visible)) {
686
if (this.
dropDown
!= null && !this.
dropDown
.Visible) {
688
if (this.
dropDown
.IsAutoGenerated && this.DropDownItems.Count <= 0) {
696
this.
dropDown
.OwnerItem = this;
697
this.
dropDown
.Location = DropDownLocation;
698
this.
dropDown
.Show();
709
return
dropDown
!= null && !
dropDown
.IsAutoGenerated;
717
return (
dropDown
!= null &&
dropDown
.IsAutoGenerated);
741
if (item.
dropDown
!= null) {
744
item.
dropDown
.deviceDpi = newDpi;
745
item.
dropDown
.ResetScaling(newDpi);
761
if (((ToolStripDropDownItem)childItem).
dropDown
!= null) {