Implemented interface member:
73 references to Add
Microsoft.VisualStudio.LanguageServices.CSharp (5)
SemanticSearch\SemanticSearchToolWindowImpl.cs (5)
264
modelPicker.Items.
Add
("gpt-4o");
265
modelPicker.Items.
Add
("gpt-4o-mini");
266
modelPicker.Items.
Add
("o1");
267
modelPicker.Items.
Add
("o1-ga");
268
modelPicker.Items.
Add
("o1-mini");
PresentationFramework (43)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
189
this.Items.
Add
(new Separator());
217
this.Items.
Add
(menuItem);
System\Windows\Controls\ItemsControl.cs (2)
1248
Items.
Add
(value);
1267
Items.
Add
(text);
System\Windows\Controls\Primitives\ScrollBar.cs (30)
830
verticalContextMenu.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand));
831
verticalContextMenu.Items.
Add
(new Separator());
832
verticalContextMenu.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_Top), "Top", ScrollBar.ScrollToTopCommand));
833
verticalContextMenu.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_Bottom), "Bottom", ScrollBar.ScrollToBottomCommand));
834
verticalContextMenu.Items.
Add
(new Separator());
835
verticalContextMenu.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageUp), "PageUp", ScrollBar.PageUpCommand));
836
verticalContextMenu.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageDown), "PageDown", ScrollBar.PageDownCommand));
837
verticalContextMenu.Items.
Add
(new Separator());
838
verticalContextMenu.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollUp), "ScrollUp", ScrollBar.LineUpCommand));
839
verticalContextMenu.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollDown), "ScrollDown", ScrollBar.LineDownCommand));
850
horizontalContextMenuLeftToRight.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand));
851
horizontalContextMenuLeftToRight.Items.
Add
(new Separator());
852
horizontalContextMenuLeftToRight.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_LeftEdge), "LeftEdge", ScrollBar.ScrollToLeftEndCommand));
853
horizontalContextMenuLeftToRight.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_RightEdge), "RightEdge", ScrollBar.ScrollToRightEndCommand));
854
horizontalContextMenuLeftToRight.Items.
Add
(new Separator());
855
horizontalContextMenuLeftToRight.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageLeft), "PageLeft", ScrollBar.PageLeftCommand));
856
horizontalContextMenuLeftToRight.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageRight), "PageRight", ScrollBar.PageRightCommand));
857
horizontalContextMenuLeftToRight.Items.
Add
(new Separator());
858
horizontalContextMenuLeftToRight.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollLeft), "ScrollLeft", ScrollBar.LineLeftCommand));
859
horizontalContextMenuLeftToRight.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollRight), "ScrollRight", ScrollBar.LineRightCommand));
870
horizontalContextMenuRightToLeft.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollHere), "ScrollHere", ScrollBar.ScrollHereCommand));
871
horizontalContextMenuRightToLeft.Items.
Add
(new Separator());
872
horizontalContextMenuRightToLeft.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_LeftEdge), "LeftEdge", ScrollBar.ScrollToRightEndCommand));
873
horizontalContextMenuRightToLeft.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_RightEdge), "RightEdge", ScrollBar.ScrollToLeftEndCommand));
874
horizontalContextMenuRightToLeft.Items.
Add
(new Separator());
875
horizontalContextMenuRightToLeft.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageLeft), "PageLeft", ScrollBar.PageRightCommand));
876
horizontalContextMenuRightToLeft.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_PageRight), "PageRight", ScrollBar.PageLeftCommand));
877
horizontalContextMenuRightToLeft.Items.
Add
(new Separator());
878
horizontalContextMenuRightToLeft.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollLeft), "ScrollLeft", ScrollBar.LineRightCommand));
879
horizontalContextMenuRightToLeft.Items.
Add
(CreateMenuItem(nameof(SR.ScrollBar_ContextMenu_ScrollRight), "ScrollRight", ScrollBar.LineLeftCommand));
System\windows\Documents\TextEditorContextMenu.cs (9)
471
this.Items.
Add
(new Separator());
498
this.Items.
Add
(menuItem);
511
this.Items.
Add
(menuItem);
521
this.Items.
Add
(menuItem);
586
this.Items.
Add
(menuItem);
601
this.Items.
Add
(menuItem);
620
this.Items.
Add
(menuItem);
628
this.Items.
Add
(menuItem);
636
this.Items.
Add
(menuItem);
PresentationUI (4)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
1094
DigitalSignaturesMenuItem.Items.
Add
(menuItem);
1101
DigitalSignaturesMenuItem.Items.
Add
(menuItem);
1108
DigitalSignaturesMenuItem.Items.
Add
(menuItem);
1842
ZoomComboBox.Items.
Add
(newItem);
Roslyn.VisualStudio.DiagnosticsWindow (4)
DiagnosticsWindow.cs (3)
62
tabControl.Items.
Add
(perfMarginPanel);
63
tabControl.Items.
Add
(telemetryPanel);
64
tabControl.Items.
Add
(workspacePanel);
PerfMargin\PerfMarginPanel.cs (1)
110
listView.Items.
Add
(s);
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
2454
ribbon.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)
1960
wrapperButton.Items.
Add
(clone);
2229
cloneItemsControl.Items.
Add
(clonedItem);