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
- SqlTypesSchemaImporter.cs
- SlotInfo.cs
- ClientFormsIdentity.cs
- UriSection.cs
- CompositeActivityMarkupSerializer.cs
- Util.cs
- XmlRawWriter.cs
- GridViewAutomationPeer.cs
- connectionpool.cs
- ActivityMetadata.cs
- GridViewPageEventArgs.cs
- QilTypeChecker.cs
- ByteRangeDownloader.cs
- UIElementPropertyUndoUnit.cs
- Merger.cs
- SmiContext.cs
- ManipulationDelta.cs
- SQLDecimalStorage.cs
- SQLDoubleStorage.cs
- FilterException.cs
- xmlsaver.cs
- SocketPermission.cs
- SymbolPair.cs
- EntitySqlQueryBuilder.cs
- InternalDuplexChannelFactory.cs
- RequestResizeEvent.cs
- ProtocolViolationException.cs
- XPathDocument.cs
- StringResourceManager.cs
- SourceFilter.cs
- DispatcherProcessingDisabled.cs
- LogSwitch.cs
- CheckableControlBaseAdapter.cs
- EmbossBitmapEffect.cs
- LinkedResourceCollection.cs
- WebColorConverter.cs
- FixedPageAutomationPeer.cs
- SqlUserDefinedTypeAttribute.cs
- OnOperation.cs
- MSAANativeProvider.cs
- XMLSyntaxException.cs
- MetadataArtifactLoaderCompositeFile.cs
- IndexedString.cs
- _LazyAsyncResult.cs
- DataFormat.cs
- SafeRegistryHandle.cs
- SecurityUtils.cs
- ExpressionConverter.cs
- GlyphTypeface.cs
- CellParaClient.cs
- Rect3D.cs
- WorkflowServiceAttributes.cs
- TcpTransportManager.cs
- __Error.cs
- EntityCommand.cs
- ResourceManagerWrapper.cs
- FixUp.cs
- MethodBuilderInstantiation.cs
- SqlErrorCollection.cs
- FormsAuthenticationModule.cs
- SecurityKeyIdentifierClause.cs
- MultitargetUtil.cs
- CacheModeConverter.cs
- Context.cs
- HwndSubclass.cs
- MultitargetingHelpers.cs
- GraphicsState.cs
- DataBoundControlAdapter.cs
- Int16AnimationBase.cs
- BrowserCapabilitiesCodeGenerator.cs
- DiscoveryEndpoint.cs
- ExecutionScope.cs
- StylusCollection.cs
- SingletonInstanceContextProvider.cs
- MsmqOutputMessage.cs
- Schema.cs
- SQLBytes.cs
- DBNull.cs
- UnsafeNativeMethods.cs
- loginstatus.cs
- RoleServiceManager.cs
- SystemIPInterfaceProperties.cs
- PathFigureCollectionConverter.cs
- PageCodeDomTreeGenerator.cs
- Rect.cs
- HandlerWithFactory.cs
- TextBlockAutomationPeer.cs
- autovalidator.cs
- EdmFunction.cs
- cookieexception.cs
- ButtonAutomationPeer.cs
- ToolStripItemRenderEventArgs.cs
- WpfPayload.cs
- AttributeQuery.cs
- PostBackTrigger.cs
- TypeReference.cs
- EpmTargetTree.cs
- CompositeCollectionView.cs
- Internal.cs
- RegexCompilationInfo.cs