18 references to AddedItems
PresentationFramework (17)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
306
int numAdded = e.
AddedItems
.Count;
310
DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer((DateTime)e.
AddedItems
[0], CalendarMode.Month);
320
foreach (DateTime date in e.
AddedItems
)
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (3)
401
int numAdded = e.
AddedItems
.Count;
419
for (i = 0; i < e.
AddedItems
.Count; i++)
421
ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.
AddedItems
[i]);
src\Framework\System\Windows\Automation\Peers\SelectorAutomationPeer.cs (2)
154
int numAdded = e.
AddedItems
.Count;
178
SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.
AddedItems
[i]) as SelectorItemAutomationPeer;
src\Framework\System\Windows\Controls\Calendar.cs (2)
1125
if (e.
AddedItems
.Count != e.RemovedItems.Count)
1130
foreach (DateTime addedDate in e.
AddedItems
)
src\Framework\System\Windows\Controls\DatePicker.cs (7)
966
Debug.Assert(e.
AddedItems
.Count < 2);
968
if (e.
AddedItems
.Count > 0 && this.SelectedDate.HasValue && DateTime.Compare((DateTime)e.
AddedItems
[0], this.SelectedDate.Value) != 0)
970
this.SetCurrentValueInternal(SelectedDateProperty, (DateTime?)e.
AddedItems
[0]);
974
if (e.
AddedItems
.Count == 0)
982
if (e.
AddedItems
.Count > 0)
984
this.SetCurrentValueInternal(SelectedDateProperty, (DateTime?)e.
AddedItems
[0]);
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\BindingEditor.xaml.cs (1)
76
BindingDescriptor entry = (BindingDescriptor)e.
AddedItems
[0];