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
- embossbitmapeffect.cs
- PerspectiveCamera.cs
- OleDbMetaDataFactory.cs
- EditorReuseAttribute.cs
- OutputCacheProviderCollection.cs
- GeneralTransform3D.cs
- DataViewListener.cs
- EventManager.cs
- SelectionService.cs
- XmlLinkedNode.cs
- sqlmetadatafactory.cs
- InternalUserCancelledException.cs
- RbTree.cs
- XmlLanguage.cs
- SymbolType.cs
- DocumentViewerBaseAutomationPeer.cs
- ConstraintStruct.cs
- InheritablePropertyChangeInfo.cs
- ListCommandEventArgs.cs
- EmbeddedMailObject.cs
- PeerApplicationLaunchInfo.cs
- TagPrefixCollection.cs
- DataGridLinkButton.cs
- PackageDigitalSignature.cs
- EdmFunction.cs
- GorillaCodec.cs
- EntitySqlQueryCacheKey.cs
- LayoutEditorPart.cs
- VerificationException.cs
- CategoryGridEntry.cs
- ObjectReaderCompiler.cs
- XsdBuilder.cs
- OleDbPermission.cs
- DispatcherFrame.cs
- AncestorChangedEventArgs.cs
- DirectoryRedirect.cs
- sqlnorm.cs
- TextEditorLists.cs
- UTF7Encoding.cs
- DataProtectionSecurityStateEncoder.cs
- WindowsAuthenticationModule.cs
- AccessedThroughPropertyAttribute.cs
- XmlSchemaDocumentation.cs
- BaseTemplateBuildProvider.cs
- BuildProvider.cs
- PeerUnsafeNativeCryptMethods.cs
- CqlParser.cs
- LookupBindingPropertiesAttribute.cs
- LookupNode.cs
- Blend.cs
- RichTextBox.cs
- WindowsFormsLinkLabel.cs
- LineGeometry.cs
- RotateTransform3D.cs
- FontFamilyValueSerializer.cs
- DataStreams.cs
- InternalResources.cs
- AtomServiceDocumentSerializer.cs
- LocalBuilder.cs
- SpinLock.cs
- IgnorePropertiesAttribute.cs
- BuildManagerHost.cs
- ScaleTransform3D.cs
- XmlSchemaComplexType.cs
- CaretElement.cs
- CqlLexer.cs
- ADMembershipUser.cs
- TextClipboardData.cs
- HtmlTableCellCollection.cs
- ExceptionWrapper.cs
- CultureInfoConverter.cs
- PerspectiveCamera.cs
- IgnoreFlushAndCloseStream.cs
- CngUIPolicy.cs
- SourceFileInfo.cs
- LogExtent.cs
- ExtensionMethods.cs
- NameValueConfigurationCollection.cs
- Parameter.cs
- ExpressionVisitor.cs
- AsyncMethodInvoker.cs
- ClientRolePrincipal.cs
- TitleStyle.cs
- DecimalAnimation.cs
- SoapClientMessage.cs
- ValueUtilsSmi.cs
- DynamicQueryStringParameter.cs
- DataGridViewCellMouseEventArgs.cs
- TableCell.cs
- Point3D.cs
- FormCollection.cs
- RecognizedPhrase.cs
- UrlAuthorizationModule.cs
- XmlResolver.cs
- DictionaryEntry.cs
- GeometryModel3D.cs
- UIElementParagraph.cs
- WindowProviderWrapper.cs
- DistributedTransactionPermission.cs
- IndicFontClient.cs