Implemented interface member:
68 references to Add
PresentationFramework (43)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
187this.Items.Add(new Separator()); 215this.Items.Add(menuItem);
System\Windows\Controls\ItemsControl.cs (2)
1260Items.Add(value); 1279Items.Add(text);
System\Windows\Controls\Primitives\ScrollBar.cs (30)
828verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand)); 829verticalContextMenu.Items.Add(new Separator()); 830verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_Top), "Top", ScrollBar.ScrollToTopCommand)); 831verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_Bottom), "Bottom", ScrollBar.ScrollToBottomCommand)); 832verticalContextMenu.Items.Add(new Separator()); 833verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageUp), "PageUp", ScrollBar.PageUpCommand)); 834verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageDown), "PageDown", ScrollBar.PageDownCommand)); 835verticalContextMenu.Items.Add(new Separator()); 836verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollUp), "ScrollUp", ScrollBar.LineUpCommand)); 837verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollDown), "ScrollDown", ScrollBar.LineDownCommand)); 848horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand)); 849horizontalContextMenuLeftToRight.Items.Add(new Separator()); 850horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_LeftEdge), "LeftEdge", ScrollBar.ScrollToLeftEndCommand)); 851horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_RightEdge), "RightEdge", ScrollBar.ScrollToRightEndCommand)); 852horizontalContextMenuLeftToRight.Items.Add(new Separator()); 853horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageLeft), "PageLeft", ScrollBar.PageLeftCommand)); 854horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageRight), "PageRight", ScrollBar.PageRightCommand)); 855horizontalContextMenuLeftToRight.Items.Add(new Separator()); 856horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollLeft), "ScrollLeft", ScrollBar.LineLeftCommand)); 857horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollRight), "ScrollRight", ScrollBar.LineRightCommand)); 868horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand)); 869horizontalContextMenuRightToLeft.Items.Add(new Separator()); 870horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_LeftEdge), "LeftEdge", ScrollBar.ScrollToRightEndCommand)); 871horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_RightEdge), "RightEdge", ScrollBar.ScrollToLeftEndCommand)); 872horizontalContextMenuRightToLeft.Items.Add(new Separator()); 873horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageLeft), "PageLeft", ScrollBar.PageRightCommand)); 874horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageRight), "PageRight", ScrollBar.PageLeftCommand)); 875horizontalContextMenuRightToLeft.Items.Add(new Separator()); 876horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollLeft), "ScrollLeft", ScrollBar.LineRightCommand)); 877horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollRight), "ScrollRight", ScrollBar.LineLeftCommand));
System\windows\Documents\TextEditorContextMenu.cs (9)
471this.Items.Add(new Separator()); 496this.Items.Add(menuItem); 507this.Items.Add(menuItem); 515this.Items.Add(menuItem); 578this.Items.Add(menuItem); 591this.Items.Add(menuItem); 608this.Items.Add(menuItem); 614this.Items.Add(menuItem); 620this.Items.Add(menuItem);
PresentationUI (4)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
1091DigitalSignaturesMenuItem.Items.Add(menuItem); 1096DigitalSignaturesMenuItem.Items.Add(menuItem); 1101DigitalSignaturesMenuItem.Items.Add(menuItem); 1830ZoomComboBox.Items.Add(newItem);
Roslyn.VisualStudio.DiagnosticsWindow (4)
DiagnosticsWindow.cs (3)
62tabControl.Items.Add(perfMarginPanel); 63tabControl.Items.Add(telemetryPanel); 64tabControl.Items.Add(workspacePanel);
PerfMargin\PerfMarginPanel.cs (1)
110listView.Items.Add(s);
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
2479ribbon.QuickAccessToolBar.Items.Add(e.CloneInstance);
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (14)
281_defaultRibbonClientAreaContextMenu.Items.Add(GenerateQATPlacementMenuItem(_defaultRibbonClientAreaContextMenu)); 282_defaultRibbonClientAreaContextMenu.Items.Add(new RibbonSeparator()); 283_defaultRibbonClientAreaContextMenu.Items.Add(GenerateMinimizeTheRibbonItem(_defaultRibbonClientAreaContextMenu)); 294_ribbonControlContextMenu.Items.Add(GenerateAddToOrRemoveFromQATItem(false, _ribbonControlContextMenu)); 295_ribbonControlContextMenu.Items.Add(new RibbonSeparator()); 296_ribbonControlContextMenu.Items.Add(GenerateQATPlacementMenuItem(_ribbonControlContextMenu)); 297_ribbonControlContextMenu.Items.Add(new RibbonSeparator()); 298_ribbonControlContextMenu.Items.Add(GenerateMinimizeTheRibbonItem(_ribbonControlContextMenu)); 309_qatControlContextMenu.Items.Add(GenerateAddToOrRemoveFromQATItem(true, _qatControlContextMenu)); 310_qatControlContextMenu.Items.Add(new RibbonSeparator()); 311_qatControlContextMenu.Items.Add(GenerateQATPlacementMenuItem(_qatControlContextMenu)); 312_qatControlContextMenu.Items.Add(new RibbonSeparator()); 313_qatControlContextMenu.Items.Add(GenerateMinimizeTheRibbonItem(_qatControlContextMenu)); 327_galleryContextMenu.Items.Add(addGalleryToQATItem);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1980wrapperButton.Items.Add(clone); 2249cloneItemsControl.Items.Add(clonedItem);