28 references to MenuItems
System.Web.Mobile (2)
UI\MobileControls\Design\StylesEditorDialog.cs (1)
315
_cntxtMenu.
MenuItems
.Add(_cntxtMenuItem);
UI\MobileControls\Design\Util\EditableTreeList.cs (1)
111
CntxtMenu.
MenuItems
.Add(CntxtMenuItem);
System.Windows.Forms (26)
winforms\Managed\System\WinForms\Menu.cs (15)
69
MenuItems
.AddRange(items);
238
int count = menuSrc.
MenuItems
.Count;
241
newItems[i] = menuSrc.
MenuItems
[i].CloneMenu();
243
MenuItems
.Clear();
245
MenuItems
.AddRange(newItems);
403
foreach (MenuItem item in
MenuItems
) {
514
MenuItems
.Clear();
524
MenuItems
.Add(FindMergePosition(item.MergeOrder), item.MergeMenu());
543
MenuItems
.Add(j, item.MergeMenu());
548
MenuItems
.Add(j, item.MergeMenu());
555
MenuItems
.Add(j, item.MergeMenu());
863
item.Menu.
MenuItems
.Remove(item);
993
if ((menuItemsToLookIn[i].
MenuItems
!= null) && menuItemsToLookIn[i].
MenuItems
.Count > 0){
995
foundMenuItems = FindInternal(key, searchAllChildren, menuItemsToLookIn[i].
MenuItems
, foundMenuItems);
winforms\Managed\System\WinForms\MenuItem.cs (11)
351
parent.
MenuItems
.RemoveAt(oldIndex);
352
parent.
MenuItems
.Add(value, this);
813
for (int i = senderMenu.
MenuItems
.Count - 1; i >= 0; i--) {
814
MenuItem item = senderMenu.
MenuItems
[i];
973
menu.
MenuItems
.Remove(this);
1098
this.data.baseItem.
MenuItems
.Contains(item)) {
1108
currentMenuItem.
MenuItems
.Add(newItem);
1155
if (senderMenu.
MenuItems
.Count > 0) {
1161
senderMenu.
MenuItems
.Add(sep);
1195
senderMenu.
MenuItems
.Add(windowItem);
1209
senderMenu.
MenuItems
.Add(moreWindows);