PointerRoutedEventArgs.IsGenerated PointerRoutedEventArgs.IsGenerated PointerRoutedEventArgs.IsGenerated 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.

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

Property Value

bool bool

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

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)


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

See also