Class DeviceCaptureChangedEventArgs
Describes a change of the owner that holds a device, or one pointer of a device.
public sealed class DeviceCaptureChangedEventArgs : EventArgs
- Inheritance
-
objectDeviceCaptureChangedEventArgs
- Inherited Members
- Extension Methods
Constructors
DeviceCaptureChangedEventArgs(IInputDevice, int?, object, object)
public DeviceCaptureChangedEventArgs(IInputDevice device, int? pointerId, object previousOwner, object newOwner)
Parameters
deviceIInputDevicepointerIdint?previousOwnerobjectnewOwnerobject
Properties
Device
Gets the device whose capture changed.
public IInputDevice Device { get; }
Property Value
NewOwner
Gets the owner that holds the device or pointer now, or null when it was released.
public object NewOwner { get; }
Property Value
- object
PointerId
Gets the pointer whose capture changed, or null when the whole device changed.
public int? PointerId { get; }
Property Value
- int?
PreviousOwner
Gets the owner that held the device or pointer before, or null.
public object PreviousOwner { get; }
Property Value
- object