DragCompletedEventArgs 类

定义

提供有关当用户使用鼠标完成 DragCompleted 控件的拖动操作时发生的 Thumb 事件的信息。Provides information about the DragCompleted event that occurs when a user completes a drag operation with the mouse of a Thumb control.

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

构造函数

DragCompletedEventArgs(Double, Double, Boolean)

初始化 DragCompletedEventArgs 类的新实例。Initializes a new instance of the DragCompletedEventArgs class.

属性

Canceled

获取是否通过调用 Thumb 方法取消了 CancelDrag() 的拖动操作。Gets whether the drag operation for a Thumb was canceled by a call to the CancelDrag() method.

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)
HorizontalChange

获取用户使用鼠标拖动控件后 Thumb 的水平位置更改。Gets the horizontal change in position of the Thumb after the user drags the control with the mouse.

OriginalSource

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

(继承自 RoutedEventArgs)
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)
VerticalChange

获取用户使用鼠标拖动控件后 Thumb 的垂直位置更改。Gets the vertical change in position of the Thumb after the user drags the control with the mouse.

方法

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)

将处理 DragCompleted 事件的方法转换为 DragCompletedEventHandler 类型。Converts a method that handles the DragCompleted event to the DragCompletedEventHandler type.

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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅