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
- FileStream.cs
- securitycriticaldata.cs
- NativeMethods.cs
- BaseUriWithWildcard.cs
- RegexCharClass.cs
- AspCompat.cs
- FileEnumerator.cs
- DesignerSerializationManager.cs
- UTF32Encoding.cs
- TargetControlTypeAttribute.cs
- DesignerLoader.cs
- UserInitiatedNavigationPermission.cs
- XPathChildIterator.cs
- DefaultExpression.cs
- TypeSystemProvider.cs
- FixedTextBuilder.cs
- ToolStripPanelCell.cs
- WebPartExportVerb.cs
- XsdBuildProvider.cs
- FeedUtils.cs
- FigureParaClient.cs
- SerialStream.cs
- DependencyPropertyHelper.cs
- Configuration.cs
- DataService.cs
- CharKeyFrameCollection.cs
- XamlStyleSerializer.cs
- RotateTransform3D.cs
- PlatformCulture.cs
- DbConnectionPool.cs
- PrintPreviewGraphics.cs
- CompositeFontFamily.cs
- Int32.cs
- CaseInsensitiveOrdinalStringComparer.cs
- XmlReaderSettings.cs
- UrlPropertyAttribute.cs
- GorillaCodec.cs
- MediaContextNotificationWindow.cs
- BindingContext.cs
- LambdaCompiler.Generated.cs
- StateItem.cs
- Inflater.cs
- UIAgentAsyncParams.cs
- WebPartConnectVerb.cs
- CollectionContainer.cs
- _ChunkParse.cs
- RenderContext.cs
- ToolStripItem.cs
- OneOfConst.cs
- ErrorReporting.cs
- Helper.cs
- BaseAutoFormat.cs
- XmlUnspecifiedAttribute.cs
- BamlLocalizableResourceKey.cs
- DataAdapter.cs
- EventSourceCreationData.cs
- FixedDocumentSequencePaginator.cs
- SafePointer.cs
- TextSpan.cs
- TemplateComponentConnector.cs
- UnsafeNativeMethods.cs
- CroppedBitmap.cs
- CategoryNameCollection.cs
- NGCPageContentSerializerAsync.cs
- FixedPageStructure.cs
- DomNameTable.cs
- CustomValidator.cs
- SqlEnums.cs
- DataServices.cs
- ThemeDictionaryExtension.cs
- GlyphTypeface.cs
- CollectionViewSource.cs
- ToolBar.cs
- IpcClientManager.cs
- BinaryFormatterWriter.cs
- XmlDataSource.cs
- XMLDiffLoader.cs
- ValidationResult.cs
- BindUriHelper.cs
- XmlQualifiedNameTest.cs
- CustomValidator.cs
- ToolboxItemAttribute.cs
- TabPanel.cs
- OwnerDrawPropertyBag.cs
- DecimalAnimationUsingKeyFrames.cs
- IndexingContentUnit.cs
- Number.cs
- Table.cs
- LifetimeServices.cs
- CollaborationHelperFunctions.cs
- PartialArray.cs
- Cursors.cs
- SemanticKeyElement.cs
- BitmapEffectDrawing.cs
- DataViewManager.cs
- SpellerHighlightLayer.cs
- ProcessInputEventArgs.cs
- PhysicalOps.cs
- ScalarConstant.cs
- IconConverter.cs