Stylus Stylus Stylus Stylus Class

定義

可用來存取 Tablet 畫筆的一般資訊。Provides access to general information about a tablet pen.

public ref class Stylus abstract sealed
public static class Stylus
type Stylus = class
Public Class Stylus
繼承
StylusStylusStylusStylus

範例

下列範例示範如何記錄手寫筆的座標, 即使手寫筆離開的範圍TextBox也一樣。The following example demonstrates how to record the coordinates of the stylus, even if the stylus leaves the bounds of a TextBox. 這個範例假設有一個TextBox呼叫textBox1, 而且StylusDownStylusUpStylusMove事件已連接到事件處理常式。This example assumes that there is a TextBox called textBox1, and that the StylusDown, StylusUp, and StylusMove events are connected to event handlers.

void textbox1_StylusDown(object sender, StylusDownEventArgs e)
{
    Stylus.Capture(textbox1);
}

void textbox1_StylusMove(object sender, StylusEventArgs e)
{
    Point pos = e.GetPosition(textbox1);
    textbox1.AppendText("X: " + pos.X + " Y: " + pos.Y + "\n");
}

void textbox1_StylusUp(object sender, StylusEventArgs e)
{
    Stylus.Capture(textbox1, CaptureMode.None);
}
Private Sub textbox1_StylusDown(ByVal sender As Object, ByVal e As System.Windows.Input.StylusDownEventArgs) _
    Handles textbox1.StylusDown

    Stylus.Capture(textbox1)

End Sub 'textbox1_StylusDown


Private Sub textbox1_StylusMove(ByVal sender As Object, ByVal e As StylusEventArgs) _
    Handles textbox1.StylusMove

    Dim pos As Point = e.GetPosition(textbox1)
    textbox1.AppendText("X: " & pos.X.ToString() & " Y: " & pos.Y.ToString() & vbLf)

End Sub 'textbox1_StylusMove


Private Sub textbox1_StylusUp(ByVal sender As Object, ByVal e As StylusEventArgs) _
    Handles textbox1.StylusUp

    Stylus.Capture(textbox1, CaptureMode.None)

End Sub 'textbox1_StylusUp

欄位

GotStylusCaptureEvent GotStylusCaptureEvent GotStylusCaptureEvent GotStylusCaptureEvent

識別 GotStylusCapture 附加事件。Identifies the GotStylusCapture attached event.

IsFlicksEnabledProperty IsFlicksEnabledProperty IsFlicksEnabledProperty IsFlicksEnabledProperty

識別 IsFlicksEnabled 附加屬性。Identifies the IsFlicksEnabled attached property.

IsPressAndHoldEnabledProperty IsPressAndHoldEnabledProperty IsPressAndHoldEnabledProperty IsPressAndHoldEnabledProperty

識別 IsPressAndHoldEnabled 附加屬性。Identifies the IsPressAndHoldEnabled attached property.

IsTapFeedbackEnabledProperty IsTapFeedbackEnabledProperty IsTapFeedbackEnabledProperty IsTapFeedbackEnabledProperty

識別 IsTapFeedbackEnabled 附加屬性。Identifies the IsTapFeedbackEnabled attached property.

IsTouchFeedbackEnabledProperty IsTouchFeedbackEnabledProperty IsTouchFeedbackEnabledProperty IsTouchFeedbackEnabledProperty

識別 IsTouchFeedbackEnabled 附加屬性。Identifies the IsTouchFeedbackEnabled attached property.

LostStylusCaptureEvent LostStylusCaptureEvent LostStylusCaptureEvent LostStylusCaptureEvent

識別 LostStylusCapture 附加事件。Identifies the LostStylusCapture attached event.

PreviewStylusButtonDownEvent PreviewStylusButtonDownEvent PreviewStylusButtonDownEvent PreviewStylusButtonDownEvent

識別 PreviewStylusButtonDown 附加事件。Identifies the PreviewStylusButtonDown attached event.

PreviewStylusButtonUpEvent PreviewStylusButtonUpEvent PreviewStylusButtonUpEvent PreviewStylusButtonUpEvent

識別 PreviewStylusButtonUp 附加事件。Identifies the PreviewStylusButtonUp attached event.

PreviewStylusDownEvent PreviewStylusDownEvent PreviewStylusDownEvent PreviewStylusDownEvent

識別 PreviewStylusDown 附加事件。Identifies the PreviewStylusDown attached event.

PreviewStylusInAirMoveEvent PreviewStylusInAirMoveEvent PreviewStylusInAirMoveEvent PreviewStylusInAirMoveEvent

識別 PreviewStylusInAirMove 附加事件。Identifies the PreviewStylusInAirMove attached event.

PreviewStylusInRangeEvent PreviewStylusInRangeEvent PreviewStylusInRangeEvent PreviewStylusInRangeEvent

識別 PreviewStylusInRange 附加事件。Identifies the PreviewStylusInRange attached event.

PreviewStylusMoveEvent PreviewStylusMoveEvent PreviewStylusMoveEvent PreviewStylusMoveEvent

識別 PreviewStylusMove 附加事件。Identifies the PreviewStylusMove attached event.

PreviewStylusOutOfRangeEvent PreviewStylusOutOfRangeEvent PreviewStylusOutOfRangeEvent PreviewStylusOutOfRangeEvent

識別 PreviewStylusOutOfRange 附加事件。Identifies the PreviewStylusOutOfRange attached event.

PreviewStylusSystemGestureEvent PreviewStylusSystemGestureEvent PreviewStylusSystemGestureEvent PreviewStylusSystemGestureEvent

識別 PreviewStylusSystemGesture 附加事件。Identifies the PreviewStylusSystemGesture attached event.

PreviewStylusUpEvent PreviewStylusUpEvent PreviewStylusUpEvent PreviewStylusUpEvent

識別 PreviewStylusUp 附加事件。Identifies the PreviewStylusUp attached event.

StylusButtonDownEvent StylusButtonDownEvent StylusButtonDownEvent StylusButtonDownEvent

識別 StylusButtonDown 附加事件。Identifies the StylusButtonDown attached event.

StylusButtonUpEvent StylusButtonUpEvent StylusButtonUpEvent StylusButtonUpEvent

識別 StylusButtonUp 附加事件。Identifies the StylusButtonUp attached event.

StylusDownEvent StylusDownEvent StylusDownEvent StylusDownEvent

識別 StylusDown 附加事件。Identifies the StylusDown attached event.

StylusEnterEvent StylusEnterEvent StylusEnterEvent StylusEnterEvent

識別 StylusEnter 附加事件。Identifies the StylusEnter attached event.

StylusInAirMoveEvent StylusInAirMoveEvent StylusInAirMoveEvent StylusInAirMoveEvent

識別 StylusInAirMove 附加事件。Identifies the StylusInAirMove attached event.

StylusInRangeEvent StylusInRangeEvent StylusInRangeEvent StylusInRangeEvent

識別 StylusInRange 附加事件。Identifies the StylusInRange attached event.

StylusLeaveEvent StylusLeaveEvent StylusLeaveEvent StylusLeaveEvent

識別 StylusLeave 附加事件。Identifies the StylusLeave attached event.

StylusMoveEvent StylusMoveEvent StylusMoveEvent StylusMoveEvent

識別 StylusMove 附加事件。Identifies the StylusMove attached event.

StylusOutOfRangeEvent StylusOutOfRangeEvent StylusOutOfRangeEvent StylusOutOfRangeEvent

識別 StylusOutOfRange 附加事件。Identifies the StylusOutOfRange attached event.

StylusSystemGestureEvent StylusSystemGestureEvent StylusSystemGestureEvent StylusSystemGestureEvent

識別 StylusSystemGesture 附加事件。Identifies the StylusSystemGesture attached event.

StylusUpEvent StylusUpEvent StylusUpEvent StylusUpEvent

識別 StylusUp 附加事件。Identifies the StylusUp attached event.

屬性

Captured Captured Captured Captured

取得手寫筆繫結的項目。Gets the element to which the stylus is bound.

CurrentStylusDevice CurrentStylusDevice CurrentStylusDevice CurrentStylusDevice

取得手寫筆,表示目前使用中的手寫筆。Gets the stylus that represents the stylus currently in use.

DirectlyOver DirectlyOver DirectlyOver DirectlyOver

取得在手寫筆正下方的項目。Gets the element that is directly beneath the stylus.

附加屬性

IsFlicksEnabled IsFlicksEnabled IsFlicksEnabled IsFlicksEnabled

取得或設定指示是否啟用筆觸的值。Gets or sets a value indicating whether flicks are enabled.

IsPressAndHoldEnabled IsPressAndHoldEnabled IsPressAndHoldEnabled IsPressAndHoldEnabled

取得或設定值,指出是否啟用「按住不放」功能。Gets or sets a values indicating whether press and hold is enabled.

IsTapFeedbackEnabled IsTapFeedbackEnabled IsTapFeedbackEnabled IsTapFeedbackEnabled

取得或設定值,指出是否啟用按鍵回應。Gets or sets whether a value indicating whether tap feedback is enabled.

IsTouchFeedbackEnabled IsTouchFeedbackEnabled IsTouchFeedbackEnabled IsTouchFeedbackEnabled

取得或設定值,指出是否啟用觸控回應。Gets or sets whether a value indicating whether touch feedback is enabled.

方法

AddGotStylusCaptureHandler(DependencyObject, StylusEventHandler) AddGotStylusCaptureHandler(DependencyObject, StylusEventHandler) AddGotStylusCaptureHandler(DependencyObject, StylusEventHandler) AddGotStylusCaptureHandler(DependencyObject, StylusEventHandler)

加入 GotStylusCapture 附加事件的處理常式。Adds a handler for the GotStylusCapture attached event.

AddLostStylusCaptureHandler(DependencyObject, StylusEventHandler) AddLostStylusCaptureHandler(DependencyObject, StylusEventHandler) AddLostStylusCaptureHandler(DependencyObject, StylusEventHandler) AddLostStylusCaptureHandler(DependencyObject, StylusEventHandler)

加入 LostStylusCapture 附加事件的處理常式。Adds a handler for the LostStylusCapture attached event.

AddPreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) AddPreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) AddPreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) AddPreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler)

加入 PreviewStylusButtonDown 附加事件的處理常式。Adds a handler for the PreviewStylusButtonDown attached event.

AddPreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) AddPreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) AddPreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) AddPreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler)

加入 PreviewStylusButtonUp 附加事件的處理常式。Adds a handler for the PreviewStylusButtonUp attached event.

AddPreviewStylusDownHandler(DependencyObject, StylusDownEventHandler) AddPreviewStylusDownHandler(DependencyObject, StylusDownEventHandler) AddPreviewStylusDownHandler(DependencyObject, StylusDownEventHandler) AddPreviewStylusDownHandler(DependencyObject, StylusDownEventHandler)

加入 PreviewStylusDown 附加事件的處理常式。Adds a handler for the PreviewStylusDown attached event.

AddPreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler) AddPreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler) AddPreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler) AddPreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler)

加入 PreviewStylusInAirMove 附加事件的處理常式。Adds a handler for the PreviewStylusInAirMove attached event.

AddPreviewStylusInRangeHandler(DependencyObject, StylusEventHandler) AddPreviewStylusInRangeHandler(DependencyObject, StylusEventHandler) AddPreviewStylusInRangeHandler(DependencyObject, StylusEventHandler) AddPreviewStylusInRangeHandler(DependencyObject, StylusEventHandler)

加入 PreviewStylusInRange 附加事件的處理常式。Adds a handler for the PreviewStylusInRange attached event.

AddPreviewStylusMoveHandler(DependencyObject, StylusEventHandler) AddPreviewStylusMoveHandler(DependencyObject, StylusEventHandler) AddPreviewStylusMoveHandler(DependencyObject, StylusEventHandler) AddPreviewStylusMoveHandler(DependencyObject, StylusEventHandler)

加入 PreviewStylusMove 附加事件的處理常式。Adds a handler for the PreviewStylusMove attached event.

AddPreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) AddPreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) AddPreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) AddPreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler)

加入 PreviewStylusOutOfRange 附加事件的處理常式。Adds a handler for the PreviewStylusOutOfRange attached event.

AddPreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) AddPreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) AddPreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) AddPreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler)

加入 PreviewStylusSystemGesture 附加事件的處理常式。Adds a handler for the PreviewStylusSystemGesture attached event.

AddPreviewStylusUpHandler(DependencyObject, StylusEventHandler) AddPreviewStylusUpHandler(DependencyObject, StylusEventHandler) AddPreviewStylusUpHandler(DependencyObject, StylusEventHandler) AddPreviewStylusUpHandler(DependencyObject, StylusEventHandler)

加入 PreviewStylusUp 附加事件的處理常式。Adds a handler for the PreviewStylusUp attached event.

AddStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) AddStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) AddStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) AddStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler)

加入 StylusButtonDown 附加事件的處理常式。Adds a handler for the StylusButtonDown attached event.

AddStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) AddStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) AddStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) AddStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler)

加入 StylusButtonUp 附加事件的處理常式。Adds a handler for the StylusButtonUp attached event.

AddStylusDownHandler(DependencyObject, StylusDownEventHandler) AddStylusDownHandler(DependencyObject, StylusDownEventHandler) AddStylusDownHandler(DependencyObject, StylusDownEventHandler) AddStylusDownHandler(DependencyObject, StylusDownEventHandler)

加入 StylusDown 附加事件的處理常式。Adds a handler for the StylusDown attached event.

AddStylusEnterHandler(DependencyObject, StylusEventHandler) AddStylusEnterHandler(DependencyObject, StylusEventHandler) AddStylusEnterHandler(DependencyObject, StylusEventHandler) AddStylusEnterHandler(DependencyObject, StylusEventHandler)

加入 StylusEnter 附加事件的處理常式。Adds a handler for the StylusEnter attached event.

AddStylusInAirMoveHandler(DependencyObject, StylusEventHandler) AddStylusInAirMoveHandler(DependencyObject, StylusEventHandler) AddStylusInAirMoveHandler(DependencyObject, StylusEventHandler) AddStylusInAirMoveHandler(DependencyObject, StylusEventHandler)

加入 StylusInAirMove 附加事件的處理常式。Adds a handler for the StylusInAirMove attached event.

AddStylusInRangeHandler(DependencyObject, StylusEventHandler) AddStylusInRangeHandler(DependencyObject, StylusEventHandler) AddStylusInRangeHandler(DependencyObject, StylusEventHandler) AddStylusInRangeHandler(DependencyObject, StylusEventHandler)

加入 StylusInRange 附加事件的處理常式。Adds a handler for the StylusInRange attached event.

AddStylusLeaveHandler(DependencyObject, StylusEventHandler) AddStylusLeaveHandler(DependencyObject, StylusEventHandler) AddStylusLeaveHandler(DependencyObject, StylusEventHandler) AddStylusLeaveHandler(DependencyObject, StylusEventHandler)

加入 StylusLeave 附加事件的處理常式。Adds a handler for the StylusLeave attached event.

AddStylusMoveHandler(DependencyObject, StylusEventHandler) AddStylusMoveHandler(DependencyObject, StylusEventHandler) AddStylusMoveHandler(DependencyObject, StylusEventHandler) AddStylusMoveHandler(DependencyObject, StylusEventHandler)

加入 StylusMove 附加事件的處理常式。Adds a handler for the StylusMove attached event.

AddStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) AddStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) AddStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) AddStylusOutOfRangeHandler(DependencyObject, StylusEventHandler)

加入 StylusOutOfRange 附加事件的處理常式。Adds a handler for the StylusOutOfRange attached event.

AddStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) AddStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) AddStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) AddStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler)

加入 StylusSystemGesture 附加事件的處理常式。Adds a handler for the StylusSystemGesture attached event.

AddStylusUpHandler(DependencyObject, StylusEventHandler) AddStylusUpHandler(DependencyObject, StylusEventHandler) AddStylusUpHandler(DependencyObject, StylusEventHandler) AddStylusUpHandler(DependencyObject, StylusEventHandler)

加入 StylusUp 附加事件的處理常式。Adds a handler for the StylusUp attached event.

Capture(IInputElement) Capture(IInputElement) Capture(IInputElement) Capture(IInputElement)

將手寫筆捕捉至指定的項目。Captures the stylus to the specified element.

Capture(IInputElement, CaptureMode) Capture(IInputElement, CaptureMode) Capture(IInputElement, CaptureMode) Capture(IInputElement, CaptureMode)

將手寫筆捕捉至指定的項目。Captures the stylus to the specified element.

GetIsFlicksEnabled(DependencyObject) GetIsFlicksEnabled(DependencyObject) GetIsFlicksEnabled(DependencyObject) GetIsFlicksEnabled(DependencyObject)

取得所指定元素上的 IsFlicksEnabled 附加屬性值。Gets the value of the IsFlicksEnabled attached property on the specified element.

GetIsPressAndHoldEnabled(DependencyObject) GetIsPressAndHoldEnabled(DependencyObject) GetIsPressAndHoldEnabled(DependencyObject) GetIsPressAndHoldEnabled(DependencyObject)

取得所指定元素上的 IsPressAndHoldEnabled 附加屬性值。Gets the value of the IsPressAndHoldEnabled attached property on the specified element.

GetIsTapFeedbackEnabled(DependencyObject) GetIsTapFeedbackEnabled(DependencyObject) GetIsTapFeedbackEnabled(DependencyObject) GetIsTapFeedbackEnabled(DependencyObject)

取得所指定元素上的 IsTapFeedbackEnabled 附加屬性值。Gets the value of the IsTapFeedbackEnabled attached property on the specified element.

GetIsTouchFeedbackEnabled(DependencyObject) GetIsTouchFeedbackEnabled(DependencyObject) GetIsTouchFeedbackEnabled(DependencyObject) GetIsTouchFeedbackEnabled(DependencyObject)

取得所指定元素上的 IsTouchFeedbackEnabled 附加屬性值。Gets the value of the IsTouchFeedbackEnabled attached property on the specified element.

RemoveGotStylusCaptureHandler(DependencyObject, StylusEventHandler) RemoveGotStylusCaptureHandler(DependencyObject, StylusEventHandler) RemoveGotStylusCaptureHandler(DependencyObject, StylusEventHandler) RemoveGotStylusCaptureHandler(DependencyObject, StylusEventHandler)

移除 GotStylusCapture 附加事件的處理常式。Removes a handler for the GotStylusCapture attached event.

RemoveLostStylusCaptureHandler(DependencyObject, StylusEventHandler) RemoveLostStylusCaptureHandler(DependencyObject, StylusEventHandler) RemoveLostStylusCaptureHandler(DependencyObject, StylusEventHandler) RemoveLostStylusCaptureHandler(DependencyObject, StylusEventHandler)

移除 LostStylusCapture 附加事件的處理常式。Removes a handler for the LostStylusCapture attached event.

RemovePreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) RemovePreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) RemovePreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) RemovePreviewStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler)

移除 PreviewStylusButtonDown 附加事件的處理常式。Removes a handler for the PreviewStylusButtonDown attached event.

RemovePreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) RemovePreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) RemovePreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) RemovePreviewStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler)

移除 PreviewStylusButtonUp 附加事件的處理常式。Removes a handler for the PreviewStylusButtonUp attached event.

RemovePreviewStylusDownHandler(DependencyObject, StylusDownEventHandler) RemovePreviewStylusDownHandler(DependencyObject, StylusDownEventHandler) RemovePreviewStylusDownHandler(DependencyObject, StylusDownEventHandler) RemovePreviewStylusDownHandler(DependencyObject, StylusDownEventHandler)

移除 PreviewStylusDown 附加事件的處理常式。Removes a handler for the PreviewStylusDown attached event.

RemovePreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusInAirMoveHandler(DependencyObject, StylusEventHandler)

移除 PreviewStylusInAirMove 附加事件的處理常式。Removes a handler for the PreviewStylusInAirMove attached event.

RemovePreviewStylusInRangeHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusInRangeHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusInRangeHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusInRangeHandler(DependencyObject, StylusEventHandler)

移除 PreviewStylusInRange 附加事件的處理常式。Removes a handler for the PreviewStylusInRange attached event.

RemovePreviewStylusMoveHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusMoveHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusMoveHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusMoveHandler(DependencyObject, StylusEventHandler)

移除 PreviewStylusMove 附加事件的處理常式。Removes a handler for the PreviewStylusMove attached event.

RemovePreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusOutOfRangeHandler(DependencyObject, StylusEventHandler)

移除 PreviewStylusOutOfRange 附加事件的處理常式。Removes a handler for the PreviewStylusOutOfRange attached event.

RemovePreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) RemovePreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) RemovePreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) RemovePreviewStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler)

移除 PreviewStylusSystemGesture 附加事件的處理常式。Removes a handler for the PreviewStylusSystemGesture attached event.

RemovePreviewStylusUpHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusUpHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusUpHandler(DependencyObject, StylusEventHandler) RemovePreviewStylusUpHandler(DependencyObject, StylusEventHandler)

移除 PreviewStylusUp 附加事件的處理常式。Removes a handler for the PreviewStylusUp attached event.

RemoveStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) RemoveStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) RemoveStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler) RemoveStylusButtonDownHandler(DependencyObject, StylusButtonEventHandler)

移除 StylusButtonDown 附加事件的處理常式。Removes a handler for the StylusButtonDown attached event.

RemoveStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) RemoveStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) RemoveStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler) RemoveStylusButtonUpHandler(DependencyObject, StylusButtonEventHandler)

移除 StylusButtonUp 附加事件的處理常式。Removes a handler for the StylusButtonUp attached event.

RemoveStylusDownHandler(DependencyObject, StylusDownEventHandler) RemoveStylusDownHandler(DependencyObject, StylusDownEventHandler) RemoveStylusDownHandler(DependencyObject, StylusDownEventHandler) RemoveStylusDownHandler(DependencyObject, StylusDownEventHandler)

移除 StylusDown 附加事件的處理常式。Removes a handler for the StylusDown attached event.

RemoveStylusEnterHandler(DependencyObject, StylusEventHandler) RemoveStylusEnterHandler(DependencyObject, StylusEventHandler) RemoveStylusEnterHandler(DependencyObject, StylusEventHandler) RemoveStylusEnterHandler(DependencyObject, StylusEventHandler)

移除 StylusEnter 附加事件的處理常式。Removes a handler for the StylusEnter attached event.

RemoveStylusInAirMoveHandler(DependencyObject, StylusEventHandler) RemoveStylusInAirMoveHandler(DependencyObject, StylusEventHandler) RemoveStylusInAirMoveHandler(DependencyObject, StylusEventHandler) RemoveStylusInAirMoveHandler(DependencyObject, StylusEventHandler)

移除 StylusInAirMove 附加事件的處理常式。Removes a handler for the StylusInAirMove attached event.

RemoveStylusInRangeHandler(DependencyObject, StylusEventHandler) RemoveStylusInRangeHandler(DependencyObject, StylusEventHandler) RemoveStylusInRangeHandler(DependencyObject, StylusEventHandler) RemoveStylusInRangeHandler(DependencyObject, StylusEventHandler)

移除 StylusInRange 附加事件的處理常式。Removes a handler for the StylusInRange attached event.

RemoveStylusLeaveHandler(DependencyObject, StylusEventHandler) RemoveStylusLeaveHandler(DependencyObject, StylusEventHandler) RemoveStylusLeaveHandler(DependencyObject, StylusEventHandler) RemoveStylusLeaveHandler(DependencyObject, StylusEventHandler)

移除 StylusLeave 附加事件的處理常式。Removes a handler for the StylusLeave attached event.

RemoveStylusMoveHandler(DependencyObject, StylusEventHandler) RemoveStylusMoveHandler(DependencyObject, StylusEventHandler) RemoveStylusMoveHandler(DependencyObject, StylusEventHandler) RemoveStylusMoveHandler(DependencyObject, StylusEventHandler)

移除 StylusMove 附加事件的處理常式。Removes a handler for the StylusMove attached event.

RemoveStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) RemoveStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) RemoveStylusOutOfRangeHandler(DependencyObject, StylusEventHandler) RemoveStylusOutOfRangeHandler(DependencyObject, StylusEventHandler)

移除 StylusOutOfRange 附加事件的處理常式。Removes a handler for the StylusOutOfRange attached event.

RemoveStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) RemoveStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) RemoveStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler) RemoveStylusSystemGestureHandler(DependencyObject, StylusSystemGestureEventHandler)

移除 StylusSystemGesture 附加事件的處理常式。Removes a handler for the StylusSystemGesture attached event.

RemoveStylusUpHandler(DependencyObject, StylusEventHandler) RemoveStylusUpHandler(DependencyObject, StylusEventHandler) RemoveStylusUpHandler(DependencyObject, StylusEventHandler) RemoveStylusUpHandler(DependencyObject, StylusEventHandler)

移除 StylusUp 附加事件的處理常式。Removes a handler for the StylusUp attached event.

SetIsFlicksEnabled(DependencyObject, Boolean) SetIsFlicksEnabled(DependencyObject, Boolean) SetIsFlicksEnabled(DependencyObject, Boolean) SetIsFlicksEnabled(DependencyObject, Boolean)

取得所指定元素上的 IsFlicksEnabled 附加屬性值。Gets the value of the IsFlicksEnabled attached property on the specified element.

SetIsPressAndHoldEnabled(DependencyObject, Boolean) SetIsPressAndHoldEnabled(DependencyObject, Boolean) SetIsPressAndHoldEnabled(DependencyObject, Boolean) SetIsPressAndHoldEnabled(DependencyObject, Boolean)

設定所指定元素上的 IsPressAndHoldEnabled 附加屬性值。Sets the value of the IsPressAndHoldEnabled attached property on the specified element.

SetIsTapFeedbackEnabled(DependencyObject, Boolean) SetIsTapFeedbackEnabled(DependencyObject, Boolean) SetIsTapFeedbackEnabled(DependencyObject, Boolean) SetIsTapFeedbackEnabled(DependencyObject, Boolean)

設定所指定元素上的 IsTapFeedbackEnabled 附加屬性值。Sets the value of the IsTapFeedbackEnabled attached property on the specified element.

SetIsTouchFeedbackEnabled(DependencyObject, Boolean) SetIsTouchFeedbackEnabled(DependencyObject, Boolean) SetIsTouchFeedbackEnabled(DependencyObject, Boolean) SetIsTouchFeedbackEnabled(DependencyObject, Boolean)

設定所指定元素上的 IsTouchFeedbackEnabled 附加屬性值。Sets the value of the IsTouchFeedbackEnabled attached property on the specified element.

Synchronize() Synchronize() Synchronize() Synchronize()

同步處理游標和使用者介面。Synchronizes the cursor and the user interface.

附加事件

GotStylusCapture GotStylusCapture GotStylusCapture GotStylusCapture

在項目擷取手寫筆事件時發生。Occurs when an element captures the stylus events.

LostStylusCapture LostStylusCapture LostStylusCapture LostStylusCapture

項目釋放手寫筆事件時發生。Occurs when an element releases stylus events.

PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown

使用者按下手寫筆上其中一個按鈕時發生。Occurs when the user presses one of the buttons on the stylus.

PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp

使用者放開手寫筆上其中一個按鈕時發生。Occurs when the user releases one of the buttons on the stylus.

PreviewStylusDown PreviewStylusDown PreviewStylusDown PreviewStylusDown

使用者以手寫筆尖端碰觸平板電腦時發生。Occurs when user touches the tip of the stylus to the tablet.

PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove

手寫筆在平板電腦的範圍內 (但未碰觸) 移動時發生。Occurs if the stylus moves while it is within range of (but not touching) the tablet.

PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange

手寫筆進入平板電腦的範圍內時發生。Occurs when the stylus comes within range of the tablet.

PreviewStylusMove PreviewStylusMove PreviewStylusMove PreviewStylusMove

手寫筆碰觸平板電腦且移動時發生。Occurs when the stylus moves while it is touching the tablet.

PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange

手寫筆超出平板電腦的範圍時發生。Occurs when the stylus goes out of range of the tablet.

PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture

使用者使用此手寫筆進行系統手勢時發生。Occurs when the user makes a system gesture with this stylus.

PreviewStylusUp PreviewStylusUp PreviewStylusUp PreviewStylusUp

使用者將手寫筆移離平板電腦時發生。Occurs when the user lifts the stylus from the tablet.

StylusButtonDown StylusButtonDown StylusButtonDown StylusButtonDown

使用者按下手寫筆上其中一個按鈕時發生。Occurs when the user presses one of the buttons on the stylus.

StylusButtonUp StylusButtonUp StylusButtonUp StylusButtonUp

使用者放開手寫筆上其中一個按鈕時發生。Occurs when the user releases one of the buttons on the stylus.

StylusDown StylusDown StylusDown StylusDown

使用者以手寫筆尖端碰觸平板電腦時發生。Occurs when the user touches the tip of the stylus to the tablet.

StylusEnter StylusEnter StylusEnter StylusEnter

手寫筆游標進入項目的邊界時發生。Occurs when the stylus cursor enters the bounds of an element.

StylusInAirMove StylusInAirMove StylusInAirMove StylusInAirMove

手寫筆在平板電腦的範圍內 (但未碰觸) 移動時發生。Occurs when the stylus moves while it is in range of, but not touching, the tablet.

StylusInRange StylusInRange StylusInRange StylusInRange

手寫筆進入平板電腦的範圍內時發生。Occurs when the stylus comes within range of the tablet.

StylusLeave StylusLeave StylusLeave StylusLeave

手寫筆游標離開項目的邊界時發生。Occurs when the stylus cursor leaves the bounds of an element.

StylusMove StylusMove StylusMove StylusMove

手寫筆碰觸平板電腦且移動時發生。Occurs when the stylus moves while it is touching the tablet.

StylusOutOfRange StylusOutOfRange StylusOutOfRange StylusOutOfRange

手寫筆超出平板電腦的範圍時發生。Occurs when the stylus goes out of range of the tablet.

StylusSystemGesture StylusSystemGesture StylusSystemGesture StylusSystemGesture

使用者使用此手寫筆進行系統手勢時發生。Occurs when the user makes a system gesture with this stylus.

StylusUp StylusUp StylusUp StylusUp

使用者將手寫筆移離平板電腦時發生。Occurs when the user raises the stylus from the Tablet PC.

適用於