Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusDownEventArgs.cs / 1 / StylusDownEventArgs.cs
using System; using System.Collections; using System.ComponentModel; using System.Windows.Media; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// //////Event argument used to subscribe to StylusDown events. /// public class StylusDownEventArgs : StylusEventArgs { ///////////////////////////////////////////////////////////////////// ////// Initializes a new instance of the StylusDownEventArgs class. /// /// /// The logical Stylus device associated with this event. /// /// /// The time when the input occured. /// public StylusDownEventArgs( StylusDevice stylusDevice, int timestamp) : base(stylusDevice, timestamp) { } ////// Read access to the stylus tap count. /// public int TapCount { get {return StylusDevice.TapCount;} } ///////////////////////////////////////////////////////////////////// ////// The mechanism used to call the type-specific handler on the /// target. /// /// /// The generic handler to call in a type-specific way. /// /// /// The target to call the handler on. /// protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) { StylusDownEventHandler handler = (StylusDownEventHandler)genericHandler; handler(genericTarget, this); } } } // 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
- TableParaClient.cs
- TextCharacters.cs
- DropTarget.cs
- _ListenerResponseStream.cs
- _CookieModule.cs
- DocumentViewerBase.cs
- RijndaelManaged.cs
- XPathException.cs
- VariantWrapper.cs
- DataFormats.cs
- ActivityTrace.cs
- SessionStateSection.cs
- XmlSchemaImport.cs
- Guid.cs
- WSSecureConversationFeb2005.cs
- BitmapFrameDecode.cs
- Pen.cs
- NewArray.cs
- AssemblySettingAttributes.cs
- ColumnCollection.cs
- DataObjectAttribute.cs
- GestureRecognitionResult.cs
- HelpEvent.cs
- StrongNameMembershipCondition.cs
- StreamUpgradeInitiator.cs
- SQLBinary.cs
- SamlSecurityTokenAuthenticator.cs
- TableProviderWrapper.cs
- IgnoreSection.cs
- NamedObject.cs
- BeginEvent.cs
- PrintDialog.cs
- _BasicClient.cs
- Identifier.cs
- SoapSchemaImporter.cs
- TextParaLineResult.cs
- AnnotationService.cs
- CodeStatement.cs
- XmlSignatureManifest.cs
- TreeNode.cs
- EdgeProfileValidation.cs
- MgmtConfigurationRecord.cs
- WebColorConverter.cs
- CodeSubDirectory.cs
- ConfigsHelper.cs
- ArithmeticException.cs
- ListControl.cs
- Line.cs
- ItemPager.cs
- TrailingSpaceComparer.cs
- CodeDomSerializer.cs
- DoubleAverageAggregationOperator.cs
- MenuScrollingVisibilityConverter.cs
- QilChoice.cs
- OleDbErrorCollection.cs
- VirtualizedItemPattern.cs
- Ref.cs
- UnionExpr.cs
- Sql8ConformanceChecker.cs
- DataListItemCollection.cs
- RouteValueDictionary.cs
- DataObject.cs
- Int64Animation.cs
- TextPattern.cs
- RuntimeIdentifierPropertyAttribute.cs
- CriticalFileToken.cs
- ControlBuilderAttribute.cs
- WinFormsSpinner.cs
- NavigationWindow.cs
- SystemIPInterfaceStatistics.cs
- StrokeCollectionConverter.cs
- CommandEventArgs.cs
- AssociatedControlConverter.cs
- SqlDataSourceConfigureSortForm.cs
- XmlUtf8RawTextWriter.cs
- SEHException.cs
- Int16AnimationUsingKeyFrames.cs
- XamlTypeMapper.cs
- ContainsSearchOperator.cs
- Rfc4050KeyFormatter.cs
- Stylesheet.cs
- XmlEntityReference.cs
- GeneralTransformCollection.cs
- AppDomainFactory.cs
- unsafenativemethodstextservices.cs
- RawStylusInputReport.cs
- DriveNotFoundException.cs
- ExpressionBuilder.cs
- AudienceUriMode.cs
- MethodBuilder.cs
- dtdvalidator.cs
- MetadataArtifactLoaderFile.cs
- BamlTreeUpdater.cs
- LayoutEngine.cs
- ScrollContentPresenter.cs
- UInt16Storage.cs
- ToolStripControlHost.cs
- CryptographicAttribute.cs
- Freezable.cs
- MatrixTransform.cs