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
- Unit.cs
- IgnoreDataMemberAttribute.cs
- ObjectQueryProvider.cs
- PeerInvitationResponse.cs
- SR.cs
- ConnectorEditor.cs
- PageRequestManager.cs
- SystemColorTracker.cs
- LinkButton.cs
- BitmapCacheBrush.cs
- TableCellCollection.cs
- CodeExpressionStatement.cs
- MembershipPasswordException.cs
- ElementNotAvailableException.cs
- Properties.cs
- PersonalizationEntry.cs
- ComplexTypeEmitter.cs
- EntityProxyTypeInfo.cs
- StorageFunctionMapping.cs
- XmlSchemaType.cs
- SendSecurityHeaderElement.cs
- ToolTipService.cs
- ImmComposition.cs
- XmlTextReaderImpl.cs
- ElementsClipboardData.cs
- LineServicesCallbacks.cs
- MetadataCollection.cs
- RuntimeHandles.cs
- DetailsViewUpdatedEventArgs.cs
- HostedBindingBehavior.cs
- ObjectPersistData.cs
- ProcessProtocolHandler.cs
- ValueTable.cs
- SqlException.cs
- DelegatingTypeDescriptionProvider.cs
- DataGridViewCheckBoxCell.cs
- XmlSchemaSet.cs
- ThrowHelper.cs
- Win32PrintDialog.cs
- EmulateRecognizeCompletedEventArgs.cs
- GB18030Encoding.cs
- ColorMatrix.cs
- DeferredSelectedIndexReference.cs
- InstancePersistenceEvent.cs
- MultiPageTextView.cs
- PropertyValueUIItem.cs
- CodeParameterDeclarationExpression.cs
- DataGridRelationshipRow.cs
- ItemDragEvent.cs
- SHA384.cs
- SecurityContext.cs
- TextTrailingCharacterEllipsis.cs
- CreateUserWizardStep.cs
- SchemaDeclBase.cs
- Setter.cs
- RectangleConverter.cs
- LocatorPartList.cs
- shaperfactoryquerycachekey.cs
- TransactionManagerProxy.cs
- FixedSOMTableCell.cs
- MyContact.cs
- ToolStripProgressBar.cs
- UInt64Converter.cs
- ExpressionBuilder.cs
- DrawingContext.cs
- RtfControlWordInfo.cs
- EmptyStringExpandableObjectConverter.cs
- TextServicesManager.cs
- TextReader.cs
- EvidenceBase.cs
- TabRenderer.cs
- ConfigurationStrings.cs
- Vector3dCollection.cs
- MetadataPropertyAttribute.cs
- DefaultMemberAttribute.cs
- DataAdapter.cs
- QueryOperationResponseOfT.cs
- UnauthorizedWebPart.cs
- CodeTypeMemberCollection.cs
- DataColumn.cs
- LinkConverter.cs
- SafeNativeMethodsOther.cs
- NamespaceTable.cs
- InternalBufferOverflowException.cs
- CodeArrayCreateExpression.cs
- RequestUriProcessor.cs
- FormViewRow.cs
- ParserHooks.cs
- ImplicitInputBrush.cs
- EventEntry.cs
- XmlUtf8RawTextWriter.cs
- XPathArrayIterator.cs
- ToolTipAutomationPeer.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ViewGenerator.cs
- baseaxisquery.cs
- PointAnimationBase.cs
- RtfControlWordInfo.cs
- SiteMap.cs
- metadatamappinghashervisitor.cs