DataTransferEventArgs 类

定义

封装数据传输事件的参数。Encapsulates arguments for data transfer events.

public ref class DataTransferEventArgs : System::Windows::RoutedEventArgs
public class DataTransferEventArgs : System.Windows.RoutedEventArgs
type DataTransferEventArgs = class
    inherit RoutedEventArgs
Public Class DataTransferEventArgs
Inherits RoutedEventArgs
继承
DataTransferEventArgs

注解

TargetUpdated 值从绑定源传输到绑定目标时发生该事件,但仅适用于 NotifyOnTargetUpdated 值设置为的绑定 trueThe TargetUpdated event occurs when a value is transferred from the binding source to the binding target, but only for bindings with the NotifyOnTargetUpdated value set to true.

SourceUpdated 值从目标传输到源时,但仅针对值设置为的绑定发生该事件 NotifyOnSourceUpdated trueThe SourceUpdated event occurs when a value is transferred from the target to the source, but only for bindings with the NotifyOnSourceUpdated value set to true.

属性

Handled

获取或设置一个值,该值指示针对路由事件(在其经过路由时)的事件处理的当前状态。Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.

(继承自 RoutedEventArgs)
OriginalSource

在父类进行任何可能的 Source 调整之前,获取由纯命中测试确定的原始报告源。Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.

(继承自 RoutedEventArgs)
Property

获取数据传输事件所涉及的特定绑定目标属性。Gets the specific binding target property that is involved in the data transfer event.

RoutedEvent

获取或设置与此 RoutedEventArgs 实例关联的 RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance.

(继承自 RoutedEventArgs)
Source

获取或设置对引发事件的对象的引用。Gets or sets a reference to the object that raised the event.

(继承自 RoutedEventArgs)
TargetObject

获取绑定中引发了事件的绑定目标对象。Gets the binding target object of the binding that raised the event.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
InvokeEventHandler(Delegate, Object)

对指定对象以特定于类型的方式调用指定的处理程序。Invokes the specified handler in a type-specific way on the specified object.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnSetSource(Object)

在派生类中重写时,每当实例的 Source 属性的值发生更改,则提供一个通知回调入口点。When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.

(继承自 RoutedEventArgs)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅