25 references to DropDownItems
System.Windows.Forms (25)
winforms\Managed\System\WinForms\Form.cs (2)
6735
int nSubItems = sourceMenuStrip.MdiWindowListItem.
DropDownItems
.Count;
6737
!(sourceMenuStrip.MdiWindowListItem.
DropDownItems
[nSubItems-1] is ToolStripSeparator));
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (4)
73
mergeItem.
DropDownItems
.Clear();
83
mergeItem.
DropDownItems
.Add(separator);
116
mergeItem.
DropDownItems
.Add(windowListItem);
128
mergeItem.
DropDownItems
.Add(moreWindowsMenuItem);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (2)
1345
this.zoomToolStripSplitButton.
DropDownItems
.AddRange(new System.Windows.Forms.ToolStripItem[] {
1669
foreach (ToolStripMenuItem item in zoomToolStripSplitButton.
DropDownItems
) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (9)
48
this.
DropDownItems
.AddRange(dropDownItems);
688
if (this.dropDown.IsAutoGenerated && this.
DropDownItems
.Count <= 0) {
880
if ((owner == null) || (owner.
DropDownItems
== null)) {
884
for (int i = 0; i < owner.
DropDownItems
.Count; i++) {
885
if (owner.
DropDownItems
[i].Available && child.Owner == owner.
DropDownItems
[i]) {
898
if ((owner == null) || (owner.
DropDownItems
== null)) {
903
for (int i = 0; i < owner.
DropDownItems
.Count; i++) {
904
if (owner.
DropDownItems
[i].Available) {
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
319
foundItems = FindInternal(key, searchAllChildren, item.
DropDownItems
, foundItems);
winforms\Managed\System\WinForms\ToolStripManager.cs (6)
1958
if (tsddownDest != null && tsddownSrc != null && tsddownSrc.
DropDownItems
.Count != 0) {
1960
int originalCount = tsddownSrc.
DropDownItems
.Count;
1971
MergeRecursive(tsddownSrc.
DropDownItems
[itemToLookAt], tsddownDest.
DropDownItems
, history);
1973
int numberOfItemsMerged = lastCount - tsddownSrc.
DropDownItems
.Count;
1975
lastCount = tsddownSrc.
DropDownItems
.Count;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
874
return ownerItem.
DropDownItems
.Count;