public event EventHandler<InteractiveEventArgs> Hold
add_Hold(function(sender, e)) remove_Hold(function(sender, e))
The event handler receives an argument of type InteractiveEventArgs containing data related to this event. The following InteractiveEventArgs properties provide information specific to this event.
Property | Description |
---|---|
NativeEventArgs | Gets or sets the native Windows Runtime event associated with this event. |
Origin | Gets or sets the original mouse or touch position. |
Position | Gets or sets the current mouse or touch position. |
The Hold event will fire when following occurs:
The Hold event is used usually on touch devices to show a context menu.
InteractiveEventArgsTarget Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2