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