Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / TouchFrameEventArgs.cs / 1305600 / TouchFrameEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Input; namespace System.Windows.Input { ////// Event arguments for the Touch.FrameReported event. /// public sealed class TouchFrameEventArgs : EventArgs { ////// Creates a new instance of this class. /// /// internal TouchFrameEventArgs(int timestamp) { Timestamp = timestamp; } ////// The timestamp for this event. /// public int Timestamp { get; private set; } ////// Retrieves the current touch point for ever touch device that is currently active. /// /// Defines the coordinate space of the touch point. ///A collection of touch points. public TouchPointCollection GetTouchPoints(IInputElement relativeTo) { return TouchDevice.GetTouchPoints(relativeTo); } ////// Retrieves the current touch point of the primary touch device, if one exists. /// /// Defines the coordinate space of the touch point. ///The touch point of the primary device or null if no device is a primary device. public TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo) { return TouchDevice.GetPrimaryTouchPoint(relativeTo); } ////// Suspends mouse promotion from this point until a touch up. /// ////// This API is provided for Silverlight compatibility, but due to device /// implementation differences, this method doesn't actually do anything. /// public void SuspendMousePromotionUntilTouchUp() { // } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewRowHeightInfoNeededEventArgs.cs
- SafeProcessHandle.cs
- SqlTriggerContext.cs
- RootBrowserWindowProxy.cs
- ClientTarget.cs
- TextDocumentView.cs
- SQLRoleProvider.cs
- Merger.cs
- iisPickupDirectory.cs
- FocusWithinProperty.cs
- IIS7ConfigurationLoader.cs
- SmtpFailedRecipientsException.cs
- AlphabeticalEnumConverter.cs
- DataObjectAttribute.cs
- SqlBuilder.cs
- SmiGettersStream.cs
- VirtualPathProvider.cs
- AutomationIdentifier.cs
- RtfControlWordInfo.cs
- Light.cs
- XomlCompilerError.cs
- ToolStripArrowRenderEventArgs.cs
- DeviceContext2.cs
- WindowsSidIdentity.cs
- SplashScreen.cs
- ConstraintConverter.cs
- Documentation.cs
- VisualStyleInformation.cs
- IteratorDescriptor.cs
- PersonalizationStateInfo.cs
- GorillaCodec.cs
- FormViewInsertedEventArgs.cs
- QueryExpr.cs
- DefaultMemberAttribute.cs
- DataGridCell.cs
- Simplifier.cs
- AssemblySettingAttributes.cs
- NamespaceEmitter.cs
- DataGridCell.cs
- StringFreezingAttribute.cs
- InternalTypeHelper.cs
- HtmlTableCellCollection.cs
- KoreanLunisolarCalendar.cs
- StyleXamlParser.cs
- XmlSchemaSimpleTypeUnion.cs
- BlurBitmapEffect.cs
- StyleHelper.cs
- WhitespaceSignificantCollectionAttribute.cs
- ParamArrayAttribute.cs
- ConfigurationFileMap.cs
- SplitterPanel.cs
- MailAddressCollection.cs
- WebBrowsableAttribute.cs
- SrgsElementFactoryCompiler.cs
- RectAnimationClockResource.cs
- XmlDataCollection.cs
- PassportAuthentication.cs
- PartialCachingAttribute.cs
- RequestedSignatureDialog.cs
- FastEncoder.cs
- ItemCheckedEvent.cs
- ConditionalAttribute.cs
- DataShape.cs
- XmlDataSourceNodeDescriptor.cs
- ContentPlaceHolder.cs
- AbandonedMutexException.cs
- OracleRowUpdatingEventArgs.cs
- RuntimeResourceSet.cs
- Mouse.cs
- PageThemeCodeDomTreeGenerator.cs
- ComPlusInstanceProvider.cs
- BasePattern.cs
- TextWriterEngine.cs
- TreeViewDesigner.cs
- EventListener.cs
- Screen.cs
- wgx_exports.cs
- SerializableAttribute.cs
- SystemNetworkInterface.cs
- FileAuthorizationModule.cs
- Container.cs
- ObjectAnimationBase.cs
- TableRow.cs
- ImplicitInputBrush.cs
- ParserContext.cs
- WebBrowserEvent.cs
- Primitive.cs
- ToolstripProfessionalRenderer.cs
- ImageFormatConverter.cs
- ImageDrawing.cs
- BlurBitmapEffect.cs
- Image.cs
- BitmapEditor.cs
- OleDbException.cs
- ManagedCodeMarkers.cs
- DbConnectionPoolGroupProviderInfo.cs
- Vector.cs
- FlowLayoutSettings.cs
- PageHandlerFactory.cs
- TiffBitmapDecoder.cs