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