PointerRoutedEventArgs.IsGenerated Property

Definition

Gets a value that indicates whether the pointer event occurred from direct interaction with an object by the user, or was generated by the platform based on changes to the UI of the application.

C#
public bool IsGenerated { get; }

Property Value

Boolean

True if the event was generated by the platform; otherwise, false.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

Some examples where pointer events are generated by the platform include:

  • The pointer is detected over a control after panning inertia is complete
  • The pointer is detected over a control when the user scrolls or pages through content with the keyboard
  • An item is added to or deleted from a list and the item under the pointer changes

Applies to

Product Versions
WinRT Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also