Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / Stylus / StylusDownEventArgs.cs / 1305600 / 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
- ProviderException.cs
- SoapIgnoreAttribute.cs
- TextEndOfSegment.cs
- XmlStringTable.cs
- DataGridViewCellLinkedList.cs
- BookmarkEventArgs.cs
- CharUnicodeInfo.cs
- Version.cs
- Base64Encoder.cs
- DictionaryTraceRecord.cs
- InputLanguageProfileNotifySink.cs
- UIElement3DAutomationPeer.cs
- GridViewPageEventArgs.cs
- path.cs
- WhitespaceRuleLookup.cs
- XmlIgnoreAttribute.cs
- DataGridTextBox.cs
- __Error.cs
- ElapsedEventArgs.cs
- MasterPageParser.cs
- CodeDelegateInvokeExpression.cs
- DragEventArgs.cs
- InputLanguageEventArgs.cs
- ParsedAttributeCollection.cs
- ResourceManager.cs
- XmlMembersMapping.cs
- HtmlHistory.cs
- MessageQueueKey.cs
- coordinatorfactory.cs
- mediaclock.cs
- EntityCommandDefinition.cs
- SerialErrors.cs
- StateWorkerRequest.cs
- PropertyInformation.cs
- StrongNameIdentityPermission.cs
- BigInt.cs
- PersonalizationDictionary.cs
- OdbcDataAdapter.cs
- TextFormatterImp.cs
- DateTime.cs
- CheckPair.cs
- StringComparer.cs
- PresentationUIStyleResources.cs
- ContainerParaClient.cs
- TextEditorThreadLocalStore.cs
- TraceXPathNavigator.cs
- X509CertificateValidator.cs
- OledbConnectionStringbuilder.cs
- SizeAnimationUsingKeyFrames.cs
- DiscoveryServerProtocol.cs
- DataGridSortCommandEventArgs.cs
- HostingEnvironmentSection.cs
- HandlerBase.cs
- StringFormat.cs
- ContainerUtilities.cs
- XmlNodeChangedEventArgs.cs
- HandledEventArgs.cs
- DrawingBrush.cs
- ElementUtil.cs
- DataRelationPropertyDescriptor.cs
- WSDualHttpSecurityMode.cs
- ResourceDescriptionAttribute.cs
- ThaiBuddhistCalendar.cs
- DocobjHost.cs
- BufferedReadStream.cs
- GeneratedCodeAttribute.cs
- ListControlActionList.cs
- ParamArrayAttribute.cs
- TaskFormBase.cs
- HotCommands.cs
- AssemblyAttributesGoHere.cs
- ParenthesizePropertyNameAttribute.cs
- KnownBoxes.cs
- StaticExtensionConverter.cs
- MemoryMappedViewAccessor.cs
- RedirectionProxy.cs
- HostExecutionContextManager.cs
- Codec.cs
- BufferModesCollection.cs
- IgnoreFlushAndCloseStream.cs
- StorageMappingItemCollection.cs
- ImpersonationContext.cs
- CodeTryCatchFinallyStatement.cs
- ServiceContractListItemList.cs
- XmlSchemaException.cs
- OpenFileDialog.cs
- StylusShape.cs
- VirtualizingStackPanel.cs
- EventMappingSettingsCollection.cs
- Logging.cs
- ColorKeyFrameCollection.cs
- DomainConstraint.cs
- SiteMapProvider.cs
- SerialStream.cs
- Int64AnimationUsingKeyFrames.cs
- PlanCompilerUtil.cs
- UnsettableComboBox.cs
- MouseEvent.cs
- CurrencyManager.cs
- DockingAttribute.cs