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
- ConfigXmlCDataSection.cs
- FollowerQueueCreator.cs
- PlatformNotSupportedException.cs
- ProfileService.cs
- TimeSpanOrInfiniteConverter.cs
- ConstantSlot.cs
- SspiNegotiationTokenProviderState.cs
- Scene3D.cs
- PrinterUnitConvert.cs
- EntityWithKeyStrategy.cs
- ServiceMoniker.cs
- BindingCollection.cs
- SqlDataSourceEnumerator.cs
- WebBrowserUriTypeConverter.cs
- UMPAttributes.cs
- GridViewSortEventArgs.cs
- StreamUpgradeProvider.cs
- CodeTypeReferenceExpression.cs
- HttpWebRequestElement.cs
- _ShellExpression.cs
- ValidationErrorEventArgs.cs
- UnsafeNativeMethods.cs
- ZipIOLocalFileHeader.cs
- XsltLibrary.cs
- CroppedBitmap.cs
- ProfilePropertySettingsCollection.cs
- ExternalFile.cs
- ManifestSignatureInformation.cs
- HttpException.cs
- WebControl.cs
- QueryAccessibilityHelpEvent.cs
- WebFaultClientMessageInspector.cs
- DbParameterCollectionHelper.cs
- TextElementAutomationPeer.cs
- TriState.cs
- RtfToXamlReader.cs
- TaskResultSetter.cs
- Page.cs
- HtmlTitle.cs
- ByteBufferPool.cs
- ProfileBuildProvider.cs
- CapabilitiesPattern.cs
- TiffBitmapDecoder.cs
- TransformerTypeCollection.cs
- Formatter.cs
- ECDiffieHellmanCng.cs
- DetailsViewRowCollection.cs
- DispatcherFrame.cs
- RegisteredExpandoAttribute.cs
- SqlResolver.cs
- Int32RectConverter.cs
- StringComparer.cs
- XmlEncodedRawTextWriter.cs
- SamlAuthenticationClaimResource.cs
- ChangeDirector.cs
- DocumentGrid.cs
- DbConnectionStringCommon.cs
- SectionXmlInfo.cs
- PingReply.cs
- NamespaceEmitter.cs
- TranslateTransform3D.cs
- Graphics.cs
- StringResourceManager.cs
- PageContentCollection.cs
- DataGridViewCell.cs
- TransactionChannel.cs
- WebMessageBodyStyleHelper.cs
- TextBoxRenderer.cs
- ControlHelper.cs
- CodeCommentStatement.cs
- unitconverter.cs
- OperationInvokerBehavior.cs
- OdbcHandle.cs
- XmlDictionaryWriter.cs
- UnsafeNativeMethods.cs
- MetadataItem_Static.cs
- XmlExtensionFunction.cs
- __Filters.cs
- ParameterCollectionEditorForm.cs
- DefaultAssemblyResolver.cs
- ChtmlTextBoxAdapter.cs
- CompareValidator.cs
- infer.cs
- SerializationHelper.cs
- infer.cs
- ObjectQueryExecutionPlan.cs
- EntityProviderFactory.cs
- Annotation.cs
- WindowsEditBoxRange.cs
- SafeNativeMethods.cs
- ContextMenuAutomationPeer.cs
- SmtpFailedRecipientException.cs
- TrustDriver.cs
- MSG.cs
- ConfigurationFileMap.cs
- HtmlAnchor.cs
- ButtonPopupAdapter.cs
- ValidatorCollection.cs
- Tuple.cs
- RtfFormatStack.cs