// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993] for details. // All other rights reserved. using System; using System.Collections; using System.Windows; namespace System.Windows.Controls { /// /// Provides data for the /// /// event. /// /// Stable public class PopulatedEventArgs : RoutedEventArgs { /// /// Gets the list of possible matches added to the drop-down portion of /// the /// control. /// /// The list of possible matches added to the /// . public IEnumerable Data { get; private set; } /// /// Initializes a new instance of the /// . /// /// The list of possible matches added to the /// drop-down portion of the /// control. public PopulatedEventArgs(IEnumerable data) { Data = data; } #if !SILVERLIGHT /// /// Initializes a new instance of the /// . /// /// The list of possible matches added to the /// drop-down portion of the /// control. /// The routed event identifier for this instance. public PopulatedEventArgs(IEnumerable data, RoutedEvent routedEvent) : base(routedEvent) { Data = data; } #endif } }