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
- GeneralTransform3DTo2D.cs
- XPathNavigator.cs
- ParallelTimeline.cs
- AnnotationResource.cs
- CloudCollection.cs
- Socket.cs
- RotationValidation.cs
- BamlTreeMap.cs
- PriorityBinding.cs
- TemplatedWizardStep.cs
- ReadOnlyHierarchicalDataSource.cs
- TreeViewImageGenerator.cs
- OracleDataAdapter.cs
- FileChangesMonitor.cs
- XPathDocument.cs
- RowToFieldTransformer.cs
- CopyAttributesAction.cs
- PowerModeChangedEventArgs.cs
- DiagnosticTrace.cs
- SiteMapNodeItemEventArgs.cs
- InvalidOperationException.cs
- FixedSOMImage.cs
- SecurityDocument.cs
- LexicalChunk.cs
- ListViewItemMouseHoverEvent.cs
- TextHintingModeValidation.cs
- PageAsyncTask.cs
- DefaultTextStore.cs
- MarkupProperty.cs
- FunctionUpdateCommand.cs
- Util.cs
- RemotingConfigParser.cs
- DoubleIndependentAnimationStorage.cs
- ProvidersHelper.cs
- EndOfStreamException.cs
- EmptyEnumerator.cs
- LinqDataSourceView.cs
- QueryInterceptorAttribute.cs
- EventArgs.cs
- WindowsGraphics2.cs
- CodeTypeParameterCollection.cs
- XmlSchemaProviderAttribute.cs
- PackageStore.cs
- SafeBitVector32.cs
- SchemaSetCompiler.cs
- CompiledRegexRunner.cs
- MultiPageTextView.cs
- CompressStream.cs
- PageSetupDialog.cs
- FactoryMaker.cs
- XmlTextEncoder.cs
- EndpointReference.cs
- ToolboxDataAttribute.cs
- SecureEnvironment.cs
- Converter.cs
- Int16AnimationBase.cs
- NullableBoolConverter.cs
- SecurityManager.cs
- ComplexLine.cs
- GroupJoinQueryOperator.cs
- EntityConnection.cs
- TaiwanCalendar.cs
- FocusManager.cs
- ResourceReferenceExpression.cs
- DispatcherSynchronizationContext.cs
- SqlConnectionFactory.cs
- EncodingNLS.cs
- InvalidComObjectException.cs
- SoapServerMethod.cs
- GPStream.cs
- SessionPageStatePersister.cs
- DataListItemCollection.cs
- ExpressionStringBuilder.cs
- Soap.cs
- DataGridRowEventArgs.cs
- KeyEvent.cs
- MessageSecurityOverMsmq.cs
- SelectionEditor.cs
- regiisutil.cs
- PathGeometry.cs
- RepeaterItem.cs
- TryExpression.cs
- GetPageNumberCompletedEventArgs.cs
- UICuesEvent.cs
- EventProviderWriter.cs
- DataPointer.cs
- XmlStreamNodeWriter.cs
- UnsafeNativeMethods.cs
- BlurEffect.cs
- DesignObjectWrapper.cs
- BitmapDecoder.cs
- ReadOnlyDictionary.cs
- RuntimeConfig.cs
- _HTTPDateParse.cs
- Html32TextWriter.cs
- OleDbSchemaGuid.cs
- LocalTransaction.cs
- Expander.cs
- AppDomainManager.cs
- WorkerRequest.cs