Implemented interface member:
method
Add
System.Collections.IList.Add(System.Object)
48 references to Add
PresentationFramework (43)
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (2)
227this.Items.Add(new Separator()); 255this.Items.Add(menuItem);
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
1273Items.Add(value); 1292Items.Add(text);
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (30)
849verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollHere, "ScrollHere", ScrollBar.ScrollHereCommand)); 850verticalContextMenu.Items.Add(new Separator()); 851verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_Top, "Top", ScrollBar.ScrollToTopCommand)); 852verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_Bottom, "Bottom", ScrollBar.ScrollToBottomCommand)); 853verticalContextMenu.Items.Add(new Separator()); 854verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_PageUp, "PageUp", ScrollBar.PageUpCommand)); 855verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_PageDown, "PageDown", ScrollBar.PageDownCommand)); 856verticalContextMenu.Items.Add(new Separator()); 857verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollUp, "ScrollUp", ScrollBar.LineUpCommand)); 858verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollDown, "ScrollDown", ScrollBar.LineDownCommand)); 869horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollHere, "ScrollHere", ScrollBar.ScrollHereCommand)); 870horizontalContextMenuLeftToRight.Items.Add(new Separator()); 871horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_LeftEdge, "LeftEdge", ScrollBar.ScrollToLeftEndCommand)); 872horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_RightEdge, "RightEdge", ScrollBar.ScrollToRightEndCommand)); 873horizontalContextMenuLeftToRight.Items.Add(new Separator()); 874horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_PageLeft, "PageLeft", ScrollBar.PageLeftCommand)); 875horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_PageRight, "PageRight", ScrollBar.PageRightCommand)); 876horizontalContextMenuLeftToRight.Items.Add(new Separator()); 877horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollLeft, "ScrollLeft", ScrollBar.LineLeftCommand)); 878horizontalContextMenuLeftToRight.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollRight, "ScrollRight", ScrollBar.LineRightCommand)); 889horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollHere, "ScrollHere", ScrollBar.ScrollHereCommand)); 890horizontalContextMenuRightToLeft.Items.Add(new Separator()); 891horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_LeftEdge, "LeftEdge", ScrollBar.ScrollToRightEndCommand)); 892horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_RightEdge, "RightEdge", ScrollBar.ScrollToLeftEndCommand)); 893horizontalContextMenuRightToLeft.Items.Add(new Separator()); 894horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_PageLeft, "PageLeft", ScrollBar.PageRightCommand)); 895horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_PageRight, "PageRight", ScrollBar.PageLeftCommand)); 896horizontalContextMenuRightToLeft.Items.Add(new Separator()); 897horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollLeft, "ScrollLeft", ScrollBar.LineRightCommand)); 898horizontalContextMenuRightToLeft.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_ScrollRight, "ScrollRight", ScrollBar.LineLeftCommand));
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (9)
499this.Items.Add(new Separator()); 524this.Items.Add(menuItem); 535this.Items.Add(menuItem); 543this.Items.Add(menuItem); 612this.Items.Add(menuItem); 625this.Items.Add(menuItem); 650this.Items.Add(menuItem); 656this.Items.Add(menuItem); 668this.Items.Add(menuItem);
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (5)
389this.panel.Items.Add(header); 393this.panel.Items.Add(startSpacer); 400this.panel.Items.Add(itemView as UIElement); 403this.panel.Items.Add(spacer); 415this.panel.Items.Add(footer);