/// <summary> /// 初始化类的新实例的dragdropqueryeventargs。 /// Initializes a new instance of the DragDropQueryEventArgs class. /// </summary> /// <param name="routedEvent"> /// 路由事件的routedeventargs这类实例标识符。 /// The routed event identifier for this instance of the RoutedEventArgs class. /// </param> /// <param name="source"> /// 在处理事件时将报告的另一个源程序。 /// 这个预填充源属性。 /// An alternate source that will be reported when the event is handled. /// This pre-populates the Source property. /// </param> /// <param name="options">The drag event options.拖动事件选项。</param> public DragDropQueryEventArgs(RoutedEvent routedEvent, object source, DragDropOptions options) : base(routedEvent, source, options) { Options = options; }
/// <summary> /// DragDropEventArgs类的初始化一个新的实例。 /// Initializes a new instance of the DragDropEventArgs class. /// </summary> /// <param name="routedEvent"> /// 路由事件标识符RoutedEventArgs类的实例。 /// The routed event identifier for this instance of the RoutedEventArgs class. /// </param> /// <param name="source"> /// 在处理事件时将报告的另一个源程序。 /// 这个预填充源属性。 /// An alternate source that will be reported when the event is handled. /// This pre-populates the Source property. /// </param> /// <param name="options">The drag event options.拖动事件选项。</param> public DragDropEventArgs(RoutedEvent routedEvent, object source, DragDropOptions options) : base(routedEvent, source) { this.Options = options; }