共用方式為


DragCompletedEventArgs(Double, Double, Boolean) 建構函式

定義

初始化 DragCompletedEventArgs 類別的新實例。

public:
 DragCompletedEventArgs(double horizontalChange, double verticalChange, bool canceled);
 DragCompletedEventArgs(double const& horizontalChange, double const& verticalChange, bool const& canceled);
public DragCompletedEventArgs(double horizontalChange, double verticalChange, bool canceled);
function DragCompletedEventArgs(horizontalChange, verticalChange, canceled)
Public Sub New (horizontalChange As Double, verticalChange As Double, canceled As Boolean)

參數

horizontalChange
Double

double

Thumb 控件的位置水平變更,由拖曳作業所產生。

verticalChange
Double

double

Thumb 控件位置的垂直變更,由拖曳作業所產生。

canceled
Boolean

bool

值,指出是否透過呼叫 CancelDrag 方法取消拖曳作業。

適用於