PointerRoutedEventArgs.IsGenerated Property


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.

 property bool IsGenerated { bool get(); };
bool IsGenerated();
public bool IsGenerated { get; }
Public ReadOnly Property IsGenerated As Boolean

Property Value


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


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

See also