Udostępnij za pośrednictwem


PointerPointProperties.IsCanceled Property

Definition

Gets a value that indicates whether the input was canceled by the pointer device.

public:
 property bool IsCanceled { bool get(); };
bool IsCanceled();
public bool IsCanceled { get; }
var boolean = pointerPointProperties.isCanceled;
Public ReadOnly Property IsCanceled As Boolean

Property Value

Boolean

bool

True if the input was canceled; otherwise false.

Remarks

Pointer input can be canceled for various reasons, including:

  • Palm rejection
  • Input arbitration (such as pen/stylus proximity overriding touch input)
  • Device removal
  • Invalid state transition
  • Screen rotation
  • Desktop switching

Applies to