Compartilhar via


TouchFrameEventArgs.Timestamp Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets an integer time-stamp value for the event.

Namespace:  System.Windows.Input
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property Timestamp As Integer
public int Timestamp { get; }

Property Value

Type: System.Int32
An integer time-stamp value for the event.

Remarks

The return value forwards the time stampof the WM_TOUCH message. This time-stamp value might be useful if your application integrates with other multitouch code or if your application is processing touch from gestures.

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

 Silverlight for Windows Phone, does not use the same underlying messages. Do not ascribe any meaning to the Timestamp numeric value. Limit your use of the value to scenarios where you compare two Timestamp values. The greater value represents a touch event that happens subsequent to the lesser value. In some cases, it is possible that Timestamp reports a negative value, but the deltas will still be representative of a normal time progression.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.