StylusSystemGestureEventArgs StylusSystemGestureEventArgs StylusSystemGestureEventArgs StylusSystemGestureEventArgs Class

定义

StylusSystemGesture 事件提供数据。Provides data for the StylusSystemGesture event.

public ref class StylusSystemGestureEventArgs : System::Windows::Input::StylusEventArgs
public class StylusSystemGestureEventArgs : System.Windows.Input.StylusEventArgs
type StylusSystemGestureEventArgs = class
    inherit StylusEventArgs
Public Class StylusSystemGestureEventArgs
Inherits StylusEventArgs
继承

构造函数

StylusSystemGestureEventArgs(StylusDevice, Int32, SystemGesture) StylusSystemGestureEventArgs(StylusDevice, Int32, SystemGesture) StylusSystemGestureEventArgs(StylusDevice, Int32, SystemGesture) StylusSystemGestureEventArgs(StylusDevice, Int32, SystemGesture)

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

属性

Device Device Device Device

获取启动此事件的输入设备。Gets the input device that initiated this event.

(Inherited from InputEventArgs)
Handled Handled Handled Handled

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

(Inherited from RoutedEventArgs)
InAir InAir InAir InAir

获取一个值,该值指示触笔是否离数字化仪很近,但却没接触到数字化仪。Gets a value that indicates whether the stylus is in proximity to, but not touching, the digitizer.

(Inherited from StylusEventArgs)
Inverted Inverted Inverted Inverted

获取一个指示触笔是否反转的值。Gets a value that indicates whether the stylus in inverted.

(Inherited from StylusEventArgs)
OriginalSource OriginalSource OriginalSource OriginalSource

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

(Inherited from RoutedEventArgs)
RoutedEvent RoutedEvent RoutedEvent RoutedEvent

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

(Inherited from RoutedEventArgs)
Source Source Source Source

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

(Inherited from RoutedEventArgs)
StylusDevice StylusDevice StylusDevice StylusDevice

获取表示触笔的 StylusDeviceGets the StylusDevice that represents the stylus.

(Inherited from StylusEventArgs)
SystemGesture SystemGesture SystemGesture SystemGesture

获取引发事件的 SystemGestureGets the SystemGesture that raises the event.

Timestamp Timestamp Timestamp Timestamp

获取此事件发生时的时间。Gets the time when this event occurred.

(Inherited from InputEventArgs)

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetPosition(IInputElement) GetPosition(IInputElement) GetPosition(IInputElement) GetPosition(IInputElement)

获取触笔的位置。Gets the position of the stylus.

(Inherited from StylusEventArgs)
GetStylusPoints(IInputElement) GetStylusPoints(IInputElement) GetStylusPoints(IInputElement) GetStylusPoints(IInputElement)

返回包含与指定 input 元素相关的 StylusPointCollection 对象的 StylusPointReturns a StylusPointCollection that contains StylusPoint objects relative to the specified input element.

(Inherited from StylusEventArgs)
GetStylusPoints(IInputElement, StylusPointDescription) GetStylusPoints(IInputElement, StylusPointDescription) GetStylusPoints(IInputElement, StylusPointDescription) GetStylusPoints(IInputElement, StylusPointDescription)

返回使用指定 StylusPointCollection 且包含与指定 input 元素相关的 StylusPointDescription 对象的 StylusPointReturns a StylusPointCollection that uses the specified StylusPointDescription and contains StylusPoint objects relating to the specified input element.

(Inherited from StylusEventArgs)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object)

无论何时引发 StylusSystemGesture事件,调用目标上类型特定的处理程序。Invokes a type-specific handler on the target whenever the StylusSystemGesture event is raised.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
OnSetSource(Object) OnSetSource(Object) OnSetSource(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.

(Inherited from RoutedEventArgs)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

适用于

另请参阅