Implemented interface member:
68 references to Add
PresentationFramework (43)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
189this.Items.Add(new Separator()); 217this.Items.Add(menuItem);
System\Windows\Controls\ItemsControl.cs (2)
1260Items.Add(value); 1279Items.Add(text);
System\Windows\Controls\Primitives\ScrollBar.cs (30)
830verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand)); 831verticalContextMenu.Items.Add(new Separator()); 832verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_Top), "Top", ScrollBar.ScrollToTopCommand)); 833verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_Bottom), "Bottom", ScrollBar.ScrollToBottomCommand)); 834verticalContextMenu.Items.Add(new Separator()); 835verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageUp), "PageUp", ScrollBar.PageUpCommand)); 836verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageDown), "PageDown", ScrollBar.PageDownCommand)); 837verticalContextMenu.Items.Add(new Separator()); 838verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollUp), "ScrollUp", ScrollBar.LineUpCommand)); 839verticalContextMenu.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollDown), "ScrollDown", ScrollBar.LineDownCommand)); 850horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand)); 851horizontalContextMenuLeftToRight.Items.Add(new Separator()); 852horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_LeftEdge), "LeftEdge", ScrollBar.ScrollToLeftEndCommand)); 853horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_RightEdge), "RightEdge", ScrollBar.ScrollToRightEndCommand)); 854horizontalContextMenuLeftToRight.Items.Add(new Separator()); 855horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageLeft), "PageLeft", ScrollBar.PageLeftCommand)); 856horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageRight), "PageRight", ScrollBar.PageRightCommand)); 857horizontalContextMenuLeftToRight.Items.Add(new Separator()); 858horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollLeft), "ScrollLeft", ScrollBar.LineLeftCommand)); 859horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollRight), "ScrollRight", ScrollBar.LineRightCommand)); 870horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand)); 871horizontalContextMenuRightToLeft.Items.Add(new Separator()); 872horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_LeftEdge), "LeftEdge", ScrollBar.ScrollToRightEndCommand)); 873horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_RightEdge), "RightEdge", ScrollBar.ScrollToLeftEndCommand)); 874horizontalContextMenuRightToLeft.Items.Add(new Separator()); 875horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageLeft), "PageLeft", ScrollBar.PageRightCommand)); 876horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageRight), "PageRight", ScrollBar.PageLeftCommand)); 877horizontalContextMenuRightToLeft.Items.Add(new Separator()); 878horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollLeft), "ScrollLeft", ScrollBar.LineRightCommand)); 879horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollRight), "ScrollRight", ScrollBar.LineLeftCommand));
System\windows\Documents\TextEditorContextMenu.cs (9)
471this.Items.Add(new Separator()); 498this.Items.Add(menuItem); 511this.Items.Add(menuItem); 521this.Items.Add(menuItem); 586this.Items.Add(menuItem); 601this.Items.Add(menuItem); 620this.Items.Add(menuItem); 628this.Items.Add(menuItem); 636this.Items.Add(menuItem);
PresentationUI (4)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
1097DigitalSignaturesMenuItem.Items.Add(menuItem); 1104DigitalSignaturesMenuItem.Items.Add(menuItem); 1111DigitalSignaturesMenuItem.Items.Add(menuItem); 1845ZoomComboBox.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)
2481ribbon.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)
1984wrapperButton.Items.Add(clone); 2253cloneItemsControl.Items.Add(clonedItem);