25 references to AddedItems
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (2)
121if (e.AddedItems.Count > 0) 123var identifierName = e.AddedItems[0].ToString();
Microsoft.VisualStudio.LanguageServices (2)
EditorConfigSettings\SettingsEditorControl.xaml.cs (2)
125var selectedTabItem = e.AddedItems.Count > 0 ? e.AddedItems[0] as TabItem : null;
PresentationFramework (17)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
292int numAdded = e.AddedItems.Count; 296DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer((DateTime)e.AddedItems[0], CalendarMode.Month); 306foreach (DateTime date in e.AddedItems)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (3)
397int numAdded = e.AddedItems.Count; 415for (i = 0; i < e.AddedItems.Count; i++) 417ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]);
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (2)
145int numAdded = e.AddedItems.Count; 169SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]) as SelectorItemAutomationPeer;
System\Windows\Controls\Calendar.cs (2)
1120if (e.AddedItems.Count != e.RemovedItems.Count) 1125foreach (DateTime addedDate in e.AddedItems)
System\Windows\Controls\DatePicker.cs (7)
973Debug.Assert(e.AddedItems.Count < 2); 975if (e.AddedItems.Count > 0 && this.SelectedDate.HasValue && DateTime.Compare((DateTime)e.AddedItems[0], this.SelectedDate.Value) != 0) 977this.SetCurrentValueInternal(SelectedDateProperty, (DateTime?)e.AddedItems[0]); 981if (e.AddedItems.Count == 0) 989if (e.AddedItems.Count > 0) 991this.SetCurrentValueInternal(SelectedDateProperty, (DateTime?)e.AddedItems[0]);
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionBufferMargin.xaml.cs (1)
32TextView.Properties[ProjectionSpanTaggerProvider.PropertyName] = new List<Span>(e.AddedItems.Cast<SnapshotSpan>().Select(ss => ss.Span).Where(ss => !ss.IsEmpty));
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (3)
1125if (e.AddedItems != null && e.AddedItems.Count > 0) 1130SelectedItem = e.AddedItems[0];