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
- SineEase.cs
- XmlComplianceUtil.cs
- OdbcConnectionPoolProviderInfo.cs
- ListViewTableRow.cs
- AudioDeviceOut.cs
- TimeSpan.cs
- TraceListeners.cs
- SeverityFilter.cs
- BitmapSource.cs
- XmlSchemaElement.cs
- DynamicFilter.cs
- EventLogPermissionEntry.cs
- MouseButton.cs
- DetailsViewUpdateEventArgs.cs
- ClientSettingsStore.cs
- KeyNotFoundException.cs
- FixedBufferAttribute.cs
- HelpKeywordAttribute.cs
- CodeSnippetExpression.cs
- VectorAnimationBase.cs
- ConfigurationStrings.cs
- ExternalException.cs
- PixelFormat.cs
- SQLResource.cs
- Drawing.cs
- LineServices.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ResourcePart.cs
- Marshal.cs
- OptimalBreakSession.cs
- HighlightComponent.cs
- KnownTypesHelper.cs
- InternalCache.cs
- DbFunctionCommandTree.cs
- SID.cs
- X509ChainPolicy.cs
- Error.cs
- DbProviderFactories.cs
- COM2ComponentEditor.cs
- InstanceKeyCollisionException.cs
- SystemDiagnosticsSection.cs
- ProgressBarHighlightConverter.cs
- ListViewContainer.cs
- NegatedCellConstant.cs
- CallContext.cs
- TableLayoutColumnStyleCollection.cs
- MenuAdapter.cs
- RegistryDataKey.cs
- StartUpEventArgs.cs
- IteratorFilter.cs
- FunctionUpdateCommand.cs
- DisposableCollectionWrapper.cs
- PathFigure.cs
- ControlFilterExpression.cs
- NativeWrapper.cs
- _NTAuthentication.cs
- FixedMaxHeap.cs
- validationstate.cs
- FactoryGenerator.cs
- AssemblyUtil.cs
- XmlNodeChangedEventArgs.cs
- PageBuildProvider.cs
- NumberFormatter.cs
- AssemblyBuilderData.cs
- CssTextWriter.cs
- SizeConverter.cs
- OracleString.cs
- NativeMethods.cs
- _LoggingObject.cs
- NumberSubstitution.cs
- ContextInformation.cs
- CapabilitiesAssignment.cs
- SimpleTextLine.cs
- parserscommon.cs
- ResXBuildProvider.cs
- FixedTextBuilder.cs
- ColumnMapProcessor.cs
- MediaElementAutomationPeer.cs
- EntitySqlException.cs
- BulletChrome.cs
- DataGridViewBand.cs
- PrtTicket_Editor.cs
- PointCollection.cs
- AsynchronousChannel.cs
- DateTimeValueSerializerContext.cs
- XmlAttribute.cs
- WebServiceTypeData.cs
- DataControlField.cs
- x509store.cs
- CatalogPart.cs
- CrossSiteScriptingValidation.cs
- DataGridViewCellEventArgs.cs
- BaseParaClient.cs
- HeaderElement.cs
- RelatedImageListAttribute.cs
- CounterCreationData.cs
- TextBlockAutomationPeer.cs
- StringAnimationBase.cs
- DataGridViewUtilities.cs
- WebPartManager.cs