PointerRoutedEventArgs.IsGenerated Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
property bool IsGenerated { bool get(); };
bool IsGenerated();
public bool IsGenerated { get; }
var boolean = pointerRoutedEventArgs.isGenerated;
Public ReadOnly Property IsGenerated As Boolean
Property Value
Boolean
bool
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