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
- PageAdapter.cs
- HuffmanTree.cs
- XmlLangPropertyAttribute.cs
- GeneralTransform.cs
- DeviceContext.cs
- CompilerHelpers.cs
- JapaneseLunisolarCalendar.cs
- DashStyles.cs
- EditCommandColumn.cs
- DataRelation.cs
- SecurityPolicySection.cs
- DocumentApplicationDocumentViewer.cs
- PersonalizationProviderHelper.cs
- EncoderBestFitFallback.cs
- AxisAngleRotation3D.cs
- SecureConversationDriver.cs
- InvalidPipelineStoreException.cs
- ComplexLine.cs
- SourceCollection.cs
- iisPickupDirectory.cs
- ProcessRequestAsyncResult.cs
- AssemblyBuilder.cs
- SamlAttributeStatement.cs
- CellQuery.cs
- ElementUtil.cs
- RecordManager.cs
- TextEffectCollection.cs
- HostedController.cs
- DataGridRowHeader.cs
- ScrollableControl.cs
- MapPathBasedVirtualPathProvider.cs
- IdentityReference.cs
- FileSecurity.cs
- isolationinterop.cs
- SecureUICommand.cs
- PersistenceTypeAttribute.cs
- GroupBoxAutomationPeer.cs
- DotAtomReader.cs
- TerminatorSinks.cs
- ReflectionTypeLoadException.cs
- PropertyMappingExceptionEventArgs.cs
- TitleStyle.cs
- MsmqIntegrationSecurityElement.cs
- CustomAttribute.cs
- ActivityBuilder.cs
- ImageSourceConverter.cs
- RtfToken.cs
- Vector3DAnimationBase.cs
- EventHandlerService.cs
- WebPartEditVerb.cs
- MsmqIntegrationMessagePool.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- Cast.cs
- FlowDocument.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- DataGridViewColumnDesigner.cs
- NavigationWindow.cs
- PrimaryKeyTypeConverter.cs
- WebPartEventArgs.cs
- DateTimeConverter.cs
- NativeObjectSecurity.cs
- FlowLayout.cs
- SmtpReplyReader.cs
- ConfigurationStrings.cs
- CompiledELinqQueryState.cs
- RulePatternOps.cs
- DeviceSpecific.cs
- codemethodreferenceexpression.cs
- OleDbError.cs
- ContextMarshalException.cs
- DataBindEngine.cs
- ExpressionNode.cs
- SchemaNamespaceManager.cs
- Attributes.cs
- CompositeActivityMarkupSerializer.cs
- CustomAttributeBuilder.cs
- HtmlWindow.cs
- MultipleViewProviderWrapper.cs
- Match.cs
- HybridWebProxyFinder.cs
- TcpAppDomainProtocolHandler.cs
- Viewport3DVisual.cs
- CngKeyBlobFormat.cs
- NodeFunctions.cs
- SqlBulkCopyColumnMapping.cs
- sqlser.cs
- UiaCoreTypesApi.cs
- Main.cs
- QilVisitor.cs
- FreeFormDragDropManager.cs
- CrossAppDomainChannel.cs
- CursorConverter.cs
- AutomationPeer.cs
- StringInfo.cs
- VerticalAlignConverter.cs
- OwnerDrawPropertyBag.cs
- HeaderPanel.cs
- WebHttpBehavior.cs
- _NegoStream.cs
- ImageDesigner.cs