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
- AttributeQuery.cs
- VisualBasicSettings.cs
- DetailsViewDeleteEventArgs.cs
- SqlInternalConnection.cs
- TriggerBase.cs
- SerializationAttributes.cs
- ToolStripOverflowButton.cs
- DataGridCaption.cs
- OledbConnectionStringbuilder.cs
- UriParserTemplates.cs
- EditorPartChrome.cs
- MethodAccessException.cs
- DtdParser.cs
- OleDbConnectionFactory.cs
- ServerIdentity.cs
- LocatorBase.cs
- Environment.cs
- AnnotationStore.cs
- ArrayEditor.cs
- TryExpression.cs
- DBDataPermission.cs
- IconHelper.cs
- ReadOnlyNameValueCollection.cs
- XsdCachingReader.cs
- VectorValueSerializer.cs
- GlobalProxySelection.cs
- Vertex.cs
- RoutedEventConverter.cs
- UIElement3DAutomationPeer.cs
- OperationResponse.cs
- _SafeNetHandles.cs
- Keywords.cs
- HighlightComponent.cs
- HttpProtocolImporter.cs
- ObjectComplexPropertyMapping.cs
- ConnectionPoolManager.cs
- CommandValueSerializer.cs
- XamlWriter.cs
- StatusBarDrawItemEvent.cs
- Stopwatch.cs
- DebugView.cs
- EventPropertyMap.cs
- DataSourceHelper.cs
- SqlClientPermission.cs
- LogRestartAreaEnumerator.cs
- dbenumerator.cs
- WsrmFault.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DivideByZeroException.cs
- HandlerBase.cs
- XNameConverter.cs
- XPathQilFactory.cs
- XmlQuerySequence.cs
- AnimationException.cs
- CompressStream.cs
- StrokeCollection2.cs
- Random.cs
- WorkflowTransactionService.cs
- StreamingContext.cs
- SqlCachedBuffer.cs
- DataGridViewImageCell.cs
- OuterGlowBitmapEffect.cs
- HatchBrush.cs
- Substitution.cs
- ValidationEventArgs.cs
- QilXmlWriter.cs
- JpegBitmapEncoder.cs
- ClrProviderManifest.cs
- XmlSchemaIdentityConstraint.cs
- FocusManager.cs
- AssociationSetEnd.cs
- LocatorGroup.cs
- TreeIterators.cs
- AnnotationAdorner.cs
- Qualifier.cs
- EventItfInfo.cs
- NativeWindow.cs
- StringFormat.cs
- ApplicationContext.cs
- MetaData.cs
- EntityContainer.cs
- BulletedListEventArgs.cs
- NumberFunctions.cs
- XmlSchemaValidator.cs
- ObjectView.cs
- EventLogPermissionEntryCollection.cs
- PrintPreviewDialog.cs
- ToolStripSplitStackLayout.cs
- XmlSequenceWriter.cs
- TextEditorLists.cs
- AppDomainUnloadedException.cs
- HttpModulesSection.cs
- ParserExtension.cs
- SamlNameIdentifierClaimResource.cs
- SupportsEventValidationAttribute.cs
- DataColumnMappingCollection.cs
- Translator.cs
- RijndaelManagedTransform.cs
- Matrix3DStack.cs
- ConnectionProviderAttribute.cs