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
- DataRowCollection.cs
- JsonFormatWriterGenerator.cs
- Graphics.cs
- ImageListUtils.cs
- ReaderWriterLock.cs
- ParameterModifier.cs
- XmlCustomFormatter.cs
- FileChangesMonitor.cs
- PageHandlerFactory.cs
- TextDecorationLocationValidation.cs
- GroupDescription.cs
- IndependentlyAnimatedPropertyMetadata.cs
- CircleHotSpot.cs
- InternalTypeHelper.cs
- XmlHierarchicalEnumerable.cs
- AvTraceDetails.cs
- DefaultProxySection.cs
- ControlCodeDomSerializer.cs
- QueryTreeBuilder.cs
- GeneratedContractType.cs
- Object.cs
- XmlDictionaryString.cs
- _BasicClient.cs
- StorageAssociationTypeMapping.cs
- List.cs
- sortedlist.cs
- DefaultPrintController.cs
- DataGridView.cs
- HyperLinkStyle.cs
- AsymmetricSignatureDeformatter.cs
- WindowsFormsSectionHandler.cs
- TableProviderWrapper.cs
- ControlPaint.cs
- WebCategoryAttribute.cs
- BaseEntityWrapper.cs
- AdCreatedEventArgs.cs
- COM2Enum.cs
- Assert.cs
- MappingItemCollection.cs
- SchemaManager.cs
- Util.cs
- CrossSiteScriptingValidation.cs
- FlowDocumentPageViewerAutomationPeer.cs
- XpsFilter.cs
- Label.cs
- XmlReader.cs
- SecurityDocument.cs
- ContainsRowNumberChecker.cs
- SymbolType.cs
- BufferModesCollection.cs
- FontDialog.cs
- WebPartMovingEventArgs.cs
- XPathBinder.cs
- SQLDateTime.cs
- XmlSortKeyAccumulator.cs
- ToolboxItemCollection.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- IpcServerChannel.cs
- ExpanderAutomationPeer.cs
- EncodingInfo.cs
- SelectionList.cs
- XmlILAnnotation.cs
- DropShadowEffect.cs
- TextElementEnumerator.cs
- HGlobalSafeHandle.cs
- XmlSubtreeReader.cs
- XDeferredAxisSource.cs
- ThrowHelper.cs
- BatchWriter.cs
- QuaternionRotation3D.cs
- AssociationSet.cs
- UserControlCodeDomTreeGenerator.cs
- WebPartManagerDesigner.cs
- Soap.cs
- CurrentChangingEventManager.cs
- UICuesEvent.cs
- PersonalizationDictionary.cs
- TypeLibConverter.cs
- SpeakInfo.cs
- WindowInteractionStateTracker.cs
- InfoCardMasterKey.cs
- TypeReference.cs
- NavigationWindowAutomationPeer.cs
- _TLSstream.cs
- LoadMessageLogger.cs
- ObjectReferenceStack.cs
- StrokeDescriptor.cs
- AbandonedMutexException.cs
- SqlServices.cs
- DPAPIProtectedConfigurationProvider.cs
- CheckBoxField.cs
- Models.cs
- WindowsIPAddress.cs
- GAC.cs
- WebPartConnectVerb.cs
- FlowDocumentFormatter.cs
- AnnotationResource.cs
- RootBrowserWindow.cs
- ParameterDataSourceExpression.cs
- EUCJPEncoding.cs