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)
298
int numAdded = e.
AddedItems
.Count;
302
DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer((DateTime)e.
AddedItems
[0], CalendarMode.Month);
312
foreach (DateTime date in e.
AddedItems
)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (3)
402
int numAdded = e.
AddedItems
.Count;
420
for (i = 0; i < e.
AddedItems
.Count; i++)
422
ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.
AddedItems
[i]);
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (2)
157
int numAdded = e.
AddedItems
.Count;
181
SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.
AddedItems
[i]) as SelectorItemAutomationPeer;
System\Windows\Controls\Calendar.cs (2)
1124
if (e.
AddedItems
.Count != e.RemovedItems.Count)
1129
foreach (DateTime addedDate in e.
AddedItems
)
System\Windows\Controls\DatePicker.cs (7)
977
Debug.Assert(e.
AddedItems
.Count < 2);
979
if (e.
AddedItems
.Count > 0 && this.SelectedDate.HasValue && DateTime.Compare((DateTime)e.
AddedItems
[0], this.SelectedDate.Value) != 0)
981
this.SetCurrentValueInternal(SelectedDateProperty, (DateTime?)e.
AddedItems
[0]);
985
if (e.
AddedItems
.Count == 0)
993
if (e.
AddedItems
.Count > 0)
995
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)
1128
if (e.
AddedItems
!= null && e.
AddedItems
.Count > 0)
1133
SelectedItem = e.
AddedItems
[0];