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
- Exceptions.cs
- SyndicationPerson.cs
- CompoundFileStreamReference.cs
- XmlCountingReader.cs
- XsdDuration.cs
- HandleExceptionArgs.cs
- COM2Properties.cs
- cookieexception.cs
- BigInt.cs
- CodeEventReferenceExpression.cs
- DocumentApplicationJournalEntry.cs
- Accessible.cs
- EntityContainerEntitySet.cs
- SchemaCompiler.cs
- EdmProviderManifest.cs
- ExpressionVisitorHelpers.cs
- XNodeValidator.cs
- BooleanConverter.cs
- MissingMemberException.cs
- FileUtil.cs
- UnmanagedMemoryStream.cs
- PrePrepareMethodAttribute.cs
- NotFiniteNumberException.cs
- InputManager.cs
- ItemAutomationPeer.cs
- SchemaTableColumn.cs
- UserControlDesigner.cs
- StringExpressionSet.cs
- ExpressionVisitorHelpers.cs
- ServicePointManager.cs
- MultiSelectRootGridEntry.cs
- WrappedIUnknown.cs
- ButtonFlatAdapter.cs
- FocusTracker.cs
- Encoder.cs
- HelpEvent.cs
- QilVisitor.cs
- TableLayoutPanel.cs
- InputLanguage.cs
- Perspective.cs
- _AutoWebProxyScriptWrapper.cs
- ServiceRoute.cs
- SqlProvider.cs
- Control.cs
- TextFormatterContext.cs
- HostingEnvironmentSection.cs
- AllowedAudienceUriElementCollection.cs
- RegexRunnerFactory.cs
- CommandConverter.cs
- DataGridToolTip.cs
- DateTimeFormat.cs
- XmlSchemaExporter.cs
- SystemColorTracker.cs
- CornerRadiusConverter.cs
- followingquery.cs
- XpsImage.cs
- FileDialogPermission.cs
- HtmlInputSubmit.cs
- UMPAttributes.cs
- odbcmetadatafactory.cs
- Win32KeyboardDevice.cs
- OptimizedTemplateContent.cs
- DesignerObject.cs
- DataKeyPropertyAttribute.cs
- SpecialFolderEnumConverter.cs
- OleDbErrorCollection.cs
- DelegateSerializationHolder.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ToolStripOverflowButton.cs
- configsystem.cs
- Psha1DerivedKeyGeneratorHelper.cs
- LifetimeServices.cs
- Monitor.cs
- ValidatorCompatibilityHelper.cs
- SafeHandles.cs
- BodyWriter.cs
- RoleManagerModule.cs
- IpcManager.cs
- HtmlContainerControl.cs
- Icon.cs
- ExternalException.cs
- DetailsViewUpdatedEventArgs.cs
- FontUnit.cs
- DataSourceListEditor.cs
- ToolStripButton.cs
- AppearanceEditorPart.cs
- ApplicationInterop.cs
- ADMembershipUser.cs
- Storyboard.cs
- ValuePattern.cs
- NativeMethods.cs
- AttributeCollection.cs
- UrlAuthorizationModule.cs
- DoubleAnimationClockResource.cs
- CodePageUtils.cs
- InstanceKeyCompleteException.cs
- CustomErrorsSection.cs
- InheritedPropertyChangedEventArgs.cs
- SafeNativeMethods.cs
- EncryptedPackage.cs